summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/nmi.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware)2017-06-29 16:05:45 +0200
committerSteven Rostedt (VMware)2017-06-29 16:05:45 +0200
commit0f17976568b3f72e676450af0c0db6f8752253d6 (patch)
tree6bd68d4113163f5205b7ee89a36b162e92b13d20 /arch/x86/kernel/nmi.c
parentLinux 4.12-rc5 (diff)
downloadkernel-qcow2-linux-0f17976568b3f72e676450af0c0db6f8752253d6.tar.gz
kernel-qcow2-linux-0f17976568b3f72e676450af0c0db6f8752253d6.tar.xz
kernel-qcow2-linux-0f17976568b3f72e676450af0c0db6f8752253d6.zip
ftrace: Fix regression with module command in stack_trace_filter
When doing the following command: # echo ":mod:kvm_intel" > /sys/kernel/tracing/stack_trace_filter it triggered a crash. This happened with the clean up of probes. It required all callers to the regex function (doing ftrace filtering) to have ops->private be a pointer to a trace_array. But for the stack tracer, that is not the case. Allow for the ops->private to be NULL, and change the function command callbacks to handle the trace_array pointer being NULL as well. Fixes: d2afd57a4b96 ("tracing/ftrace: Allow instances to have their own function probes") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/x86/kernel/nmi.c')
0 files changed, 0 insertions, 0 deletions