perf sched: Stop updating hists stats, not used
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: b3f25b6e04495ace0851cf0b88514f41c7807af6 Gitweb: http://git.kernel.org/tip/b3f25b6e04495ace0851cf0b88514f41c7807af6 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Thu, 9 Oct 2014 11:40:15 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Thu, 9 Oct 2014 11:46:35 -0300
perf sched: Stop updating hists stats, not used
Not used here, remove to reduce perf_evsel/hists structs interaction.
Cc Adrian Hunter <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc Don Zickus <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jean Pihet <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-sched.c | 3 --- 1 file changed, 3 deletions(-)
tools/perf/builtin-sched.c +0 -3
@@ -1431,9 +1431,6 @@ static int perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_ {int err =0 ; - evsel->hists.stats.total_period += sample->period; -hists__inc_nr_samples (&evsel->hists, true); -if (evsel->handler !=NULL ) {tracepoint_handler f = evsel->handler; err =f (tool, evsel, sample, machine);