linux/kernel/trace
Steven Rostedt f633cef020 ftrace: change trace.c to use registered events
Impact: rework trace.c to use new event register API

Almost every ftrace event has to implement its output display in
trace.c through a different function. Some events did not handle
all the formats (trace, latency-trace, raw, hex, binary), and
this method does not scale well.

This patch converts the format functions to use the event API to
find the event and and print its format. Currently, we have
a print function for trace, latency_trace, raw, hex and binary.
A trace_nop_print is available if the event wants to avoid output
on a particular format.

Perhaps other tracers could use this in the future (like mmiotrace and
function_graph).

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-29 12:46:12 +01:00
..
ftrace.c ftrace: add not to regex on filtering functions 2008-12-18 12:57:09 +01:00
Kconfig trace: add a way to enable or disable the stack tracer 2008-12-18 12:56:24 +01:00
Makefile ftrace: set up trace event hash infrastructure 2008-12-29 12:46:11 +01:00
ring_buffer.c ring-buffer: prevent false positive warning 2008-12-23 18:45:26 +01:00
trace.c ftrace: change trace.c to use registered events 2008-12-29 12:46:12 +01:00
trace.h ftrace: set up trace event hash infrastructure 2008-12-29 12:46:11 +01:00
trace_boot.c ftrace: set up trace event hash infrastructure 2008-12-29 12:46:11 +01:00
trace_branch.c ftrace: change trace.c to use registered events 2008-12-29 12:46:12 +01:00
trace_functions.c ftrace: introduce tracing_reset_online_cpus() helper 2008-12-19 16:29:34 +01:00
trace_functions_graph.c ftrace: set up trace event hash infrastructure 2008-12-29 12:46:11 +01:00
trace_hw_branches.c ftrace: set up trace event hash infrastructure 2008-12-29 12:46:11 +01:00
trace_irqsoff.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00
trace_mmiotrace.c ftrace: set up trace event hash infrastructure 2008-12-29 12:46:11 +01:00
trace_nop.c tracing/ftrace: make nop tracer using tracer flags 2008-11-18 11:10:59 +01:00
trace_output.c ftrace: change trace.c to use registered events 2008-12-29 12:46:12 +01:00
trace_output.h ftrace: change trace.c to use registered events 2008-12-29 12:46:12 +01:00
trace_power.c ftrace: set up trace event hash infrastructure 2008-12-29 12:46:11 +01:00
trace_sched_switch.c sched, trace: update trace_sched_wakeup() 2008-12-25 13:10:21 +01:00
trace_sched_wakeup.c sched, trace: update trace_sched_wakeup() 2008-12-25 13:10:21 +01:00
trace_selftest.c tracing/ftrace: change the type of the init() callback 2008-11-16 07:55:23 +01:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_stack.c trace: better use of stack_trace_enabled for boot up code 2008-12-18 12:56:56 +01:00
trace_sysprof.c ftrace: introduce tracing_reset_online_cpus() helper 2008-12-19 16:29:34 +01:00