diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index b9b9e58a6c399d4c4c2e8dc3162598acf2b1cd62..6b4925f65bf02f42bfa98641842ea6df9a826c5f 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -572,7 +572,6 @@ static int process_sample_event(struct perf_tool *tool __maybe_unused, scripting_ops->process_event(event, sample, evsel, thread, &al); - evsel->hists.stats.total_period += sample->period; return 0; }