perf evsel: Rename perf_evsel__{str,int}val() and other tracepoint field metehods to to evsel__*()
As those are not '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>
This commit is contained in:
@ -2488,7 +2488,7 @@ static int intel_pt_process_switch(struct intel_pt *pt,
|
||||
if (evsel != pt->switch_evsel)
|
||||
return 0;
|
||||
|
||||
tid = perf_evsel__intval(evsel, sample, "next_pid");
|
||||
tid = evsel__intval(evsel, sample, "next_pid");
|
||||
cpu = sample->cpu;
|
||||
|
||||
intel_pt_log("sched_switch: cpu %d tid %d time %"PRIu64" tsc %#"PRIx64"\n",
|
||||
|
Reference in New Issue
Block a user