perf evlist: Factor out evlist__dummy_event()
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 24 May 2022 07:54:25 +0000 (10:54 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 May 2022 15:36:57 +0000 (12:36 -0300)
commit82944899149d2ea77c920333364dd0a6de0015ba
tree219698fdfabddf09cd6d9a43700bf6f8fc68d7fa
parent84bd5aba88af7b6ec46ea88e01588f93c6aa782f
perf evlist: Factor out evlist__dummy_event()

Factor out evlist__dummy_event() so it can be reused.

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