Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf annotate: Rename perf_evsel__*() operating on 'struct evsel *' to evsel__*()

As those is a 'struct evsel' methods, not part of tools/lib/perf/, aka
libperf, to whom the perf_ prefix belongs.

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>

+4 -6
+4 -6
tools/perf/builtin-annotate.c
··· 212 212 return ui__has_annotation() || ann->use_stdio2; 213 213 } 214 214 215 - static int perf_evsel__add_sample(struct evsel *evsel, 216 - struct perf_sample *sample, 217 - struct addr_location *al, 218 - struct perf_annotate *ann, 219 - struct machine *machine) 215 + static int evsel__add_sample(struct evsel *evsel, struct perf_sample *sample, 216 + struct addr_location *al, struct perf_annotate *ann, 217 + struct machine *machine) 220 218 { 221 219 struct hists *hists = evsel__hists(evsel); 222 220 struct hist_entry *he; ··· 276 278 goto out_put; 277 279 278 280 if (!al.filtered && 279 - perf_evsel__add_sample(evsel, sample, &al, ann, machine)) { 281 + evsel__add_sample(evsel, sample, &al, ann, machine)) { 280 282 pr_warning("problem incrementing symbol count, " 281 283 "skipping event\n"); 282 284 ret = -1;