aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2017-07-26 12:02:05 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-07-26 17:21:59 +0000
commitf7794d525447f1e4e4b2228dd29dba084005e6bf (patch)
tree30ebccbdc677b6f20c29e94fe169fe6ef72dff4c /tools/perf/scripts/python
parentperf tools: Add perf_evsel__read_size function (diff)
downloadkernel-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')
0 files changed, 0 insertions, 0 deletions