Revision 854145e0a8e9a05f7366d240e2f99d9c1ca6d6dd authored by Chunyu Hu on 03 May 2016, 11:34:34 UTC, committed by Steven Rostedt on 03 May 2016, 16:59:30 UTC
Currently register functions for events will be called
through the 'reg' field of event class directly without
any check when seting up triggers.

Triggers for events that don't support register through
debug fs (events under events/ftrace are for trace-cmd to
read event format, and most of them don't have a register
function except events/ftrace/functionx) can't be enabled
at all, and an oops will be hit when setting up trigger
for those events, so just not creating them is an easy way
to avoid the oops.

Link: http://lkml.kernel.org/r/1462275274-3911-1-git-send-email-chuhu@redhat.com

Cc: stable@vger.kernel.org # 3.14+
Fixes: 85f2b08268c01 ("tracing: Add basic event trigger framework")
Signed-off-by: Chunyu Hu <chuhu@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 parent 04974df
History
File Mode Size
Kconfig -rw-r--r-- 20.0 KB
Makefile -rw-r--r-- 2.3 KB
blktrace.c -rw-r--r-- 42.0 KB
bpf_trace.c -rw-r--r-- 8.4 KB
ftrace.c -rw-r--r-- 138.8 KB
power-traces.c -rw-r--r-- 424 bytes
ring_buffer.c -rw-r--r-- 130.5 KB
ring_buffer_benchmark.c -rw-r--r-- 10.7 KB
rpm-traces.c -rw-r--r-- 474 bytes
trace.c -rw-r--r-- 173.4 KB
trace.h -rw-r--r-- 43.7 KB
trace_benchmark.c -rw-r--r-- 4.3 KB
trace_benchmark.h -rw-r--r-- 836 bytes
trace_branch.c -rw-r--r-- 8.9 KB
trace_clock.c -rw-r--r-- 3.5 KB
trace_entries.h -rw-r--r-- 7.4 KB
trace_event_perf.c -rw-r--r-- 8.8 KB
trace_events.c -rw-r--r-- 76.9 KB
trace_events_filter.c -rw-r--r-- 54.4 KB
trace_events_filter_test.h -rw-r--r-- 1.0 KB
trace_events_trigger.c -rw-r--r-- 35.1 KB
trace_export.c -rw-r--r-- 5.1 KB
trace_functions.c -rw-r--r-- 15.3 KB
trace_functions_graph.c -rw-r--r-- 36.3 KB
trace_irqsoff.c -rw-r--r-- 17.6 KB
trace_kdb.c -rw-r--r-- 3.2 KB
trace_kprobe.c -rw-r--r-- 36.3 KB
trace_mmiotrace.c -rw-r--r-- 8.8 KB
trace_nop.c -rw-r--r-- 2.2 KB
trace_output.c -rw-r--r-- 27.1 KB
trace_output.h -rw-r--r-- 1.2 KB
trace_printk.c -rw-r--r-- 8.5 KB
trace_probe.c -rw-r--r-- 17.2 KB
trace_probe.h -rw-r--r-- 11.0 KB
trace_sched_switch.c -rw-r--r-- 2.2 KB
trace_sched_wakeup.c -rw-r--r-- 19.0 KB
trace_selftest.c -rw-r--r-- 26.6 KB
trace_selftest_dynamic.c -rw-r--r-- 168 bytes
trace_seq.c -rw-r--r-- 9.9 KB
trace_stack.c -rw-r--r-- 10.8 KB
trace_stat.c -rw-r--r-- 7.6 KB
trace_stat.h -rw-r--r-- 973 bytes
trace_syscalls.c -rw-r--r-- 18.6 KB
trace_uprobe.c -rw-r--r-- 30.7 KB

back to top