diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2014-09-17 16:42:58 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-09-17 18:01:43 -0300 |
commit | e5685730e2c620f97bc12380e9370e857e5bd7a7 (patch) | |
tree | f65a2e146bbb838b882128e17d06a1b34e8fe63c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 664fee3dc37939bb8010906913fa9dbc52abb587 (diff) |
perf record: Use ring buffer consume method to look like other tools
All builtins that consume events from perf's ring buffer now end up
calling perf_evlist__mmap_consume(), which will allow unmapping the ring
buffer when all the fds gets closed and all events in the buffer
consumed.
This is in preparation for the patchkit that will notice POLLHUP on
perf events file descriptors.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Don Zickus <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[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