]> git.karo-electronics.de Git - linux-beck.git/commit
tracing: make event directory structure
authorSteven Rostedt <srostedt@redhat.com>
Tue, 24 Feb 2009 19:15:08 +0000 (14:15 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Wed, 25 Feb 2009 02:54:08 +0000 (21:54 -0500)
commit1473e4417c79f12d91ef91a469699bfa911f510f
tree07ae02d5383367ed883616646f885be71f7431dd
parentf3fe8e4a38fd19dbb3f8ffb1826aa840ae304a65
tracing: make event directory structure

This patch adds the directory /debug/tracing/events/ that will contain
all the registered trace points.

 # ls /debug/tracing/events/
sched_kthread_stop      sched_process_fork  sched_switch
sched_kthread_stop_ret  sched_process_free  sched_wait_task
sched_migrate_task      sched_process_wait  sched_wakeup
sched_process_exit      sched_signal_send   sched_wakeup_new

 # ls /debug/tracing/events/sched_switch/
enable

 # cat /debug/tracing/events/sched_switch/enable
1

 # cat /debug/tracing/set_event
sched_switch

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace_events.c
kernel/trace/trace_events.h