diff options
author | Jiri Olsa <jolsa@kernel.org> | 2017-07-26 15:02:05 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-07-26 20:21:59 +0300 |
commit | f7794d525447f1e4e4b2228dd29dba084005e6bf (patch) | |
tree | 30ebccbdc677b6f20c29e94fe169fe6ef72dff4c /tools/perf/util/counts.h | |
parent | de63403bfd14ae8d613f30c9a0d415581b4cb37e (diff) | |
download | linux-f7794d525447f1e4e4b2228dd29dba084005e6bf.tar.xz |
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 <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20170726120206.9099-3-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/counts.h')
0 files changed, 0 insertions, 0 deletions