diff options
author | Jiri Olsa <jolsa@kernel.org> | 2019-07-21 14:24:49 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-07-30 00:34:46 +0300 |
commit | 50a4e6fa450c4e5b688814a7ec8236d0de6e38bf (patch) | |
tree | 8fe6a61bb600c84746054d25f66b4b90b6178f70 /tools/perf/util/evlist.c | |
parent | b8eca4d761c57fcf691a8063cd562f205645d11f (diff) | |
download | linux-50a4e6fa450c4e5b688814a7ec8236d0de6e38bf.tar.xz |
libperf: Adopt simplified perf_evsel__open() function from tools/perf
Add a perf_evsel__open() function to libperf.
It's a simplified version of evsel__open() without the fallback
mechanism.
We can try to merge it in the future to libperf, but it has many
details, lets start simple, requiring the latest kernel, perf should
continue using its evsel__open() version, continuing to support running
on older kernels when possible.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190721112506.12306-63-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/evlist.c')
0 files changed, 0 insertions, 0 deletions