]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/perf/builtin-script.c
tools headers uapi: Update tools's copy of asm-generic/unistd.h
[linux.git] / tools / perf / builtin-script.c
index 568ddfac3213e084c1f4c6077cd73943bf0644b9..ba481d73f910fbdf2388d02d24afe8747528ab2e 100644 (file)
@@ -3429,9 +3429,9 @@ int cmd_script(int argc, const char **argv)
                symbol_conf.use_callchain = false;
 
        if (session->tevent.pevent &&
-           pevent_set_function_resolver(session->tevent.pevent,
-                                        machine__resolve_kernel_addr,
-                                        &session->machines.host) < 0) {
+           tep_set_function_resolver(session->tevent.pevent,
+                                     machine__resolve_kernel_addr,
+                                     &session->machines.host) < 0) {
                pr_err("%s: failed to set libtraceevent function resolver\n", __func__);
                err = -1;
                goto out_delete;