perf auxtrace: Move evlist__enable_event_idx() to auxtrace.c
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 6 May 2022 12:25:42 +0000 (15:25 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 May 2022 17:23:34 +0000 (14:23 -0300)
commit024b3b42adc07f6292adcfbae50c6f2db0546b60
tree1501dd8acbfbaaa4a4a59f4f97bc83a541d3a074
parenta40bb7518e78afb2958bc5857c8c72d753655245
perf auxtrace: Move evlist__enable_event_idx() to auxtrace.c

evlist__enable_event_idx() is used only by auxtrace. Move it to auxtrace.c
in preparation for making it even more auxtrace specific.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Alexey Bayduraev <alexey.v.bayduraev@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lore.kernel.org/lkml/20220506122601.367589-5-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/auxtrace.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h