aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2017-07-26 14:02:04 +0200
committerArnaldo Carvalho de Melo <[email protected]>2017-07-26 14:20:28 -0300
commitde63403bfd14ae8d613f30c9a0d415581b4cb37e (patch)
tree2c4f35b85bf526a276e13dc6e042400d55974d54 /tools/perf/scripts/python/event_analyzing_sample.py
parentee438ec8f33c5af0d4a4ffb935c5b9272e8c2680 (diff)
perf tools: Add perf_evsel__read_size function
Currently we use the size of struct perf_counts_values to read the event, which prevents us to put any new member to the struct. Adding perf_evsel__read_size to return size of the buffer needed for event read. Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions