perf trace: Make evlist__set_evsel_handler() affect just entries without a handler
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 1 Oct 2019 14:31:59 +0000 (11:31 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Oct 2019 15:22:17 +0000 (12:22 -0300)
commit206d635aa594a5246cd181b3be39d1e3b2126f68
tree9f1fac55aaf84d1bf44b1ca828b20028dd18b8a9
parentc0e53476ab5087353547cbcd37f001d98941326c
perf trace: Make evlist__set_evsel_handler() affect just entries without a handler

Renaming it to evlist__set_default_evsel_handler(), to better reflect
what we want to do, which is to set a default handler for events we
still haven't set a custom handler, like the ones for "msr:write_msr",
etc that are coming soon.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-e1bit7upnpmtsayh8039kfuw@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c