]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - tools/perf/builtin-annotate.c
perf annotate: Pass perf_evsel instead of just evsel->idx
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 May 2018 15:05:39 +0000 (12:05 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Jun 2018 13:28:50 +0000 (10:28 -0300)
commite345f3bd9b2f4a768a216f629a1ae750eb609aee
tree2da5d04db4934d49c7662ac5092d7b288de871f1
parent362379aad56fdc627a49e30d12c3ece900221898
perf annotate: Pass perf_evsel instead of just evsel->idx

The code gets shorter and we'll be able to use evsel->evlist in a
followup patch.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-t0s7vy19wq5kak74kavm8swf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/builtin-top.c
tools/perf/util/annotate.c
tools/perf/util/annotate.h