diff options
author | Jiri Olsa <jolsa@kernel.org> | 2017-07-26 15:02:04 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-07-26 20:20:28 +0300 |
commit | de63403bfd14ae8d613f30c9a0d415581b4cb37e (patch) | |
tree | 2c4f35b85bf526a276e13dc6e042400d55974d54 /drivers/virt | |
parent | ee438ec8f33c5af0d4a4ffb935c5b9272e8c2680 (diff) | |
download | linux-de63403bfd14ae8d613f30c9a0d415581b4cb37e.tar.xz |
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 <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-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions