diff options
author | Jiri Olsa <[email protected]> | 2019-07-21 13:24:49 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-07-29 18:34:46 -0300 |
commit | 50a4e6fa450c4e5b688814a7ec8236d0de6e38bf (patch) | |
tree | 8fe6a61bb600c84746054d25f66b4b90b6178f70 /lib/mpi/mpi-cmp.c | |
parent | b8eca4d761c57fcf691a8063cd562f205645d11f (diff) |
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 <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexey Budankov <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Michael Petlan <[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 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions