mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 03:49:57 -04:00
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:
@@ -135,8 +135,8 @@ static int process_sample_event(struct evlist *evlist,
|
||||
|
||||
evsel = perf_evlist__id2evsel(evlist, sample.id);
|
||||
if (evsel == switch_tracking->switch_evsel) {
|
||||
next_tid = perf_evsel__intval(evsel, &sample, "next_pid");
|
||||
prev_tid = perf_evsel__intval(evsel, &sample, "prev_pid");
|
||||
next_tid = evsel__intval(evsel, &sample, "next_pid");
|
||||
prev_tid = evsel__intval(evsel, &sample, "prev_pid");
|
||||
cpu = sample.cpu;
|
||||
pr_debug3("sched_switch: cpu: %d prev_tid %d next_tid %d\n",
|
||||
cpu, prev_tid, next_tid);
|
||||
|
||||
Reference in New Issue
Block a user