projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ec2ef1
)
tracing: add subsystem sched for sched events
author
Steven Rostedt
<srostedt@redhat.com>
Sat, 28 Feb 2009 04:45:52 +0000
(23:45 -0500)
committer
Steven Rostedt
<srostedt@redhat.com>
Sat, 28 Feb 2009 08:06:31 +0000
(
03:06
-0500)
Add the TRACE_SYSTEM sched for the sched events.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
include/trace/sched_event_types.h
patch
|
blob
|
blame
|
history
diff --git
a/include/trace/sched_event_types.h
b/include/trace/sched_event_types.h
index a3d3d66a51c8863bf67fcdf3b5afcb37c1991a85..2ada206565a3ba5f2581f3a625a466b05d52608d 100644
(file)
--- a/
include/trace/sched_event_types.h
+++ b/
include/trace/sched_event_types.h
@@
-5,6
+5,9
@@
# error Unless you know what you are doing.
#endif
+#undef TRACE_SYSTEM
+#define TRACE_SYSTEM sched
+
TRACE_FORMAT(sched_kthread_stop,
TPPROTO(struct task_struct *t),
TPARGS(t),
@@
-70,3
+73,5
@@
TRACE_FORMAT(sched_signal_send,
TPPROTO(int sig, struct task_struct *p),
TPARGS(sig, p),
TPFMT("sig: %d task %s:%d", sig, p->comm, p->pid));
+
+#undef TRACE_SYSTEM