perf evlist: Use the right prefix for 'struct evlist' sample id lookup methods
[linux-2.6-microblaze.git] / tools / perf / builtin-script.c
index 983c101..1c322c1 100644 (file)
@@ -2224,7 +2224,7 @@ static int print_event_with_time(struct perf_tool *tool,
 {
        struct perf_script *script = container_of(tool, struct perf_script, tool);
        struct perf_session *session = script->session;
-       struct evsel *evsel = perf_evlist__id2evsel(session->evlist, sample->id);
+       struct evsel *evsel = evlist__id2evsel(session->evlist, sample->id);
        struct thread *thread = NULL;
 
        if (evsel && !evsel->core.attr.sample_id_all) {