Daniel Wagner
9f61668073
tracing: Allow triggers to filter for CPU ids and process names
...
By extending the filter rules by more generic fields
we can write triggers filters like
echo 'stacktrace if cpu == 1' > \
/sys/kernel/debug/tracing/events/raw_syscalls/sys_enter/trigger
or
echo 'stacktrace if comm == sshd' > \
/sys/kernel/debug/tracing/events/raw_syscalls/sys_enter/trigger
CPU and COMM are not part of struct trace_entry. We could add the two
new fields to ftrace_common_field list and fix up all depending
sides. But that looks pretty ugly. Another thing I would like to
avoid that the 'format' file contents changes.
All this can be avoided by introducing another list which contains
non field members of struct trace_entry.
Link: http://lkml.kernel.org/r/1439210146-24707-1-git-send-email-daniel.wagner@bmw-carit.de
Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2015-08-11 18:01:06 -04:00
..
blktrace.c
This patch series contains several clean ups and even a new trace clock
2015-06-26 14:02:43 -07:00
bpf_trace.c
bpf: let kprobe programs use bpf_get_smp_processor_id() helper
2015-06-15 15:53:50 -07:00
ftrace.c
ftrace: add tracing_thresh to function profile
2015-07-20 22:30:51 -04:00
Kconfig
Makefile
power-traces.c
ring_buffer.c
ring-buffer: Reorganize function locations
2015-07-20 22:30:49 -04:00
ring_buffer_benchmark.c
This patch series contains several clean ups and even a new trace clock
2015-06-26 14:02:43 -07:00
rpm-traces.c
trace.c
ftrace: correct the counter increment for trace_buffer data
2015-07-20 22:30:45 -04:00
trace.h
tracing: Have branch tracer use recursive field of task struct
2015-07-08 11:53:45 -04:00
trace_benchmark.c
trace_benchmark.h
trace_branch.c
tracing: Have branch tracer use recursive field of task struct
2015-07-08 11:53:45 -04:00
trace_clock.c
tracing: Export tracing clock functions
2015-05-12 15:56:57 -04:00
trace_entries.h
trace_event_perf.c
tracing: Rename ftrace_event_{call,class} to trace_event_{call,class}
2015-05-13 14:06:10 -04:00
trace_events.c
tracing: Allow triggers to filter for CPU ids and process names
2015-08-11 18:01:06 -04:00
trace_events_filter.c
tracing: Allow triggers to filter for CPU ids and process names
2015-08-11 18:01:06 -04:00
trace_events_filter_test.h
trace_events_trigger.c
tracing: Rename ftrace_raw_##call event structures to trace_event_raw_##call
2015-05-13 21:48:40 -04:00
trace_export.c
tracing: Rename ftrace_event_{call,class} to trace_event_{call,class}
2015-05-13 14:06:10 -04:00
trace_functions.c
trace_functions_graph.c
ftrace: Fix function_graph duration spacing with 7-digits
2015-07-20 22:30:52 -04:00
trace_irqsoff.c
trace_kdb.c
trace_kprobe.c
tracing: Rename ftrace_trigger_soft_disabled() to trace_trigger_soft_disabled()
2015-05-13 15:25:39 -04:00
trace_mmiotrace.c
tracing: Rename ftrace_event_{call,class} to trace_event_{call,class}
2015-05-13 14:06:10 -04:00
trace_nop.c
trace_output.c
tracing: Introduce two additional marks for delay
2015-07-20 22:30:52 -04:00
trace_output.h
tracing: Rename (un)register_ftrace_event() to (un)register_trace_event()
2015-05-13 14:05:14 -04:00
trace_printk.c
trace_probe.c
trace_probe.h
tracing: Rename ftrace_event_{call,class} to trace_event_{call,class}
2015-05-13 14:06:10 -04:00
trace_sched_switch.c
trace_sched_wakeup.c
tracing: Rename ftrace_event_{call,class} to trace_event_{call,class}
2015-05-13 14:06:10 -04:00
trace_selftest.c
trace_selftest_dynamic.c
trace_seq.c
trace_stack.c
tracing: Clean up stack tracing and fix fentry updates
2015-07-20 22:30:50 -04:00
trace_stat.c
trace_stat.h
trace_syscalls.c
tracing: Rename ftrace_trigger_soft_disabled() to trace_trigger_soft_disabled()
2015-05-13 15:25:39 -04:00
trace_uprobe.c
tracing: Rename ftrace_trigger_soft_disabled() to trace_trigger_soft_disabled()
2015-05-13 15:25:39 -04:00