aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2009-07-23 14:46:33 +0200
committerIngo Molnar <[email protected]>2009-08-02 13:47:56 +0200
commit9f498cc5be7e013d8d6e4c616980ed0ffc8680d2 (patch)
tree25ef7a52d61ffd336c73b42dcf770424beb19cf3 /net/lapb/lapb_iface.c
parente53c0994709166b111fbe9162d1a16ece7dfc45b (diff)
perf_counter: Full task tracing
In order to be able to distinguish between no samples due to inactivity and no samples due to task ended, Arjan asked for PERF_EVENT_EXIT events. This is useful to the boot delay instrumentation (bootchart) app. This patch changes the PERF_EVENT_FORK to be emitted on every clone, and adds PERF_EVENT_EXIT to be emitted on task exit, after the task's counters have been closed. This task tracing is controlled through: attr.comm || attr.mmap and through the new attr.task field. Suggested-by: Arjan van de Ven <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Anton Blanchard <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> [ cleaned up perf_counter.h a bit ] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions