summaryrefslogtreecommitdiff
path: root/include/linux/tracepoint.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-02-28 07:41:25 (GMT)
committerSteven Rostedt <srostedt@redhat.com>2009-02-28 09:04:03 (GMT)
commitfd99498989f3b3feeab89dcadf537138ba136d24 (patch)
tree9470e9b4e886466511d47a70281e77e5a8c674ff /include/linux/tracepoint.h
parentc32e827b25054cb17b79cf97fb5e63ae4ce2223c (diff)
downloadlinux-fsl-qoriq-fd99498989f3b3feeab89dcadf537138ba136d24.tar.xz
tracing: add raw fast tracing interface for trace events
This patch adds the interface to enable the C style trace points. In the directory /debugfs/tracing/events/subsystem/event We now have three files: enable : values 0 or 1 to enable or disable the trace event. available_types: values 'raw' and 'printf' which indicate the tracing types available for the trace point. If a developer does not use the TRACE_EVENT_FORMAT macro and just uses the TRACE_FORMAT macro, then only 'printf' will be available. This file is read only. type: values 'raw' or 'printf'. This indicates which type of tracing is active for that trace point. 'printf' is the default and if 'raw' is not available, this file is read only. # echo raw > /debug/tracing/events/sched/sched_wakeup/type # echo 1 > /debug/tracing/events/sched/sched_wakeup/enable Will enable the C style tracing for the sched_wakeup trace point. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'include/linux/tracepoint.h')
0 files changed, 0 insertions, 0 deletions