diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-03 10:57:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-03 10:57:20 -0700 |
commit | bd463a06064c4bc8497f6aa6dfb4437be8f07a3b (patch) | |
tree | 3499f105c565d977d0ae9486f0a4572cd5fcbd2e /include/trace/events | |
parent | 148311d2ade909a79afb85a853c7979eb499563f (diff) | |
parent | e6dab5ffab59e910ec0e3355f4a6f29f7a7be474 (diff) | |
download | blackbird-obmc-linux-bd463a06064c4bc8497f6aa6dfb4437be8f07a3b.tar.gz blackbird-obmc-linux-bd463a06064c4bc8497f6aa6dfb4437be8f07a3b.zip |
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf fixes from Ingo Molnar:
"Fix merge window fallout and fix sleep profiling (this was always
broken, so it's not a fix for the merge window - we can skip this one
from the head of the tree)."
* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
perf/trace: Add ability to set a target task for events
perf/x86: Fix USER/KERNEL tagging of samples properly
perf/x86/intel/uncore: Make UNCORE_PMU_HRTIMER_INTERVAL 64-bit
Diffstat (limited to 'include/trace/events')
-rw-r--r-- | include/trace/events/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h index ea7a2035456d..5a8671e8a67f 100644 --- a/include/trace/events/sched.h +++ b/include/trace/events/sched.h @@ -73,6 +73,9 @@ DECLARE_EVENT_CLASS(sched_wakeup_template, __entry->prio = p->prio; __entry->success = success; __entry->target_cpu = task_cpu(p); + ) + TP_perf_assign( + __perf_task(p); ), TP_printk("comm=%s pid=%d prio=%d success=%d target_cpu=%03d", @@ -325,6 +328,7 @@ DECLARE_EVENT_CLASS(sched_stat_template, ) TP_perf_assign( __perf_count(delay); + __perf_task(tsk); ), TP_printk("comm=%s pid=%d delay=%Lu [ns]", |