perf evsel: Ditch evsel->handler.data field
[deliverable/linux.git] / tools / perf / builtin-lock.c
index 35f9aaa565cc6e624f92525917e996877640202b..c852c7a85d3236e86781b15616858a76b56c6206 100644 (file)
@@ -819,8 +819,8 @@ static int process_sample_event(struct perf_tool *tool __maybe_unused,
                return -1;
        }
 
-       if (evsel->handler.func != NULL) {
-               tracepoint_handler f = evsel->handler.func;
+       if (evsel->handler != NULL) {
+               tracepoint_handler f = evsel->handler;
                return f(evsel, sample);
        }
 
This page took 0.039527 seconds and 5 git commands to generate.