diff options
author | Jiri Olsa <[email protected]> | 2014-08-07 11:48:26 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-24 08:11:09 -0300 |
commit | 179033b3e064d2cd3f5f9945e76b0a0f0fbf4883 (patch) | |
tree | 7a470e9a799e4221fd4f319f4e190fd6e313e908 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 61b67684c4a4d04b30d9ed67aa2eadfa0089c590 (diff) |
perf: Add PERF_EVENT_STATE_EXIT state for events with exited task
Adding new perf event state to indicate that the monitored task has
exited. In this case the event stays alive until the owner task exits
or close the event fd while providing the last data through the read
syscall and ring buffer.
Instead it needs to propagate the error info (monitored task has died)
via poll and read syscalls by returning POLLHUP and 0 respectively.
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: Adrian Hunter <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jean Pihet <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions