perf tools: Move routines that probe for perf API features to separate file
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 May 2020 14:49:08 +0000 (11:49 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 May 2020 19:35:26 +0000 (16:35 -0300)
commit40c7d2460e03b0916c5fcc5edbedae05b4b571fc
treee1d02e6461f395e95de7453d0799ceee3e4f21de
parent354575c00d61c174e0ff070f56cf3cdbe6d23f9e
perf tools: Move routines that probe for perf API features to separate file

Trying to disentangle this a bit further, unfortunately it uses
parse_events(), its interesting to have it separated anyway, so do it.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm/util/cs-etm.c
tools/perf/arch/x86/util/intel-pt.c
tools/perf/builtin-record.c
tools/perf/util/Build
tools/perf/util/auxtrace.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h
tools/perf/util/intel-pt.c
tools/perf/util/perf_api_probe.c [new file with mode: 0644]
tools/perf/util/perf_api_probe.h [new file with mode: 0644]
tools/perf/util/record.c