diff options
| author | Jiri Olsa <[email protected]> | 2017-07-26 12:02:05 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-26 17:21:59 +0000 |
| commit | f7794d525447f1e4e4b2228dd29dba084005e6bf (patch) | |
| tree | 30ebccbdc677b6f20c29e94fe169fe6ef72dff4c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | perf tools: Add perf_evsel__read_size function (diff) | |
| download | kernel-f7794d525447f1e4e4b2228dd29dba084005e6bf.tar.gz kernel-f7794d525447f1e4e4b2228dd29dba084005e6bf.zip | |
perf evsel: Add read_counter()
Add perf_evsel__read_counter() to read single or group counter. After
calling this function the counter's evsel::counts struct is filled with
values for the counter and member of its group if there are any.
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/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions
