perf evsel: Ditch evsel->handler.data field
[deliverable/linux.git] / tools / perf / builtin-sched.c
index a81ab1828aa5a1a6f2999b3c73138eb278f65218..0f3c65518a2c669a9b83ad255d1018368de6ec69 100644 (file)
@@ -1427,8 +1427,8 @@ static int perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_
        evsel->hists.stats.total_period += sample->period;
        hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
 
-       if (evsel->handler.func != NULL) {
-               tracepoint_handler f = evsel->handler.func;
+       if (evsel->handler != NULL) {
+               tracepoint_handler f = evsel->handler;
                err = f(tool, evsel, sample, machine);
        }
 
This page took 0.029725 seconds and 5 git commands to generate.