diff options
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r-- | tools/perf/builtin-sched.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 9c9287fbf8e9..891c3930080e 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c | |||
@@ -1431,9 +1431,6 @@ static int perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_ | |||
1431 | { | 1431 | { |
1432 | int err = 0; | 1432 | int err = 0; |
1433 | 1433 | ||
1434 | evsel->hists.stats.total_period += sample->period; | ||
1435 | hists__inc_nr_samples(&evsel->hists, true); | ||
1436 | |||
1437 | if (evsel->handler != NULL) { | 1434 | if (evsel->handler != NULL) { |
1438 | tracepoint_handler f = evsel->handler; | 1435 | tracepoint_handler f = evsel->handler; |
1439 | err = f(tool, evsel, sample, machine); | 1436 | err = f(tool, evsel, sample, machine); |