perf script: Stop updating hists stats, not used
authorArnaldo Carvalho de Melo <[email protected]>
Thu, 9 Oct 2014 14:45:42 +0000 (11:45 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 9 Oct 2014 14:46:41 +0000 (11:46 -0300)
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]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-script.c

index b9b9e58a6c399d4c4c2e8dc3162598acf2b1cd62..6b4925f65bf02f42bfa98641842ea6df9a826c5f 100644 (file)
@@ -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;
 }