aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/trace_stat.c
diff options
context:
space:
mode:
authorGravatar Steven Rostedt <srostedt@redhat.com> 2008-12-23 23:24:13 -0500
committerGravatar Ingo Molnar <mingo@elte.hu> 2008-12-29 12:46:12 +0100
commitf633cef0200bbaec539e2dbb0bc4bed7f022f98b (patch)
tree725d0b181b8e417303e27fa9e62d06b780fe4934 /kernel/trace/trace_stat.c
parentftrace: set up trace event hash infrastructure (diff)
downloadlinux-f633cef0200bbaec539e2dbb0bc4bed7f022f98b.tar.gz
linux-f633cef0200bbaec539e2dbb0bc4bed7f022f98b.tar.bz2
linux-f633cef0200bbaec539e2dbb0bc4bed7f022f98b.zip
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>
Diffstat (limited to 'kernel/trace/trace_stat.c')
0 files changed, 0 insertions, 0 deletions