diff options
| author | Jiri Olsa <[email protected]> | 2017-07-26 12:02:04 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-26 17:20:28 +0000 |
| commit | de63403bfd14ae8d613f30c9a0d415581b4cb37e (patch) | |
| tree | 2c4f35b85bf526a276e13dc6e042400d55974d54 /tools/perf/scripts/python | |
| parent | Merge tag 'perf-core-for-mingo-4.14-20170725' of git://git.kernel.org/pub/scm... (diff) | |
| download | kernel-de63403bfd14ae8d613f30c9a0d415581b4cb37e.tar.gz kernel-de63403bfd14ae8d613f30c9a0d415581b4cb37e.zip | |
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')
0 files changed, 0 insertions, 0 deletions
