aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2014-10-09 14:45:42 +0000
committerArnaldo Carvalho de Melo <[email protected]>2014-10-09 14:46:41 +0000
commit49c23f2d541ebf7ae5e9fff03301f4e7145cc979 (patch)
tree8705194d7adf3bd043ba7ab83b30b1c256c1718e /tools/perf/builtin-script.c
parentperf sched: Stop updating hists stats, not used (diff)
downloadkernel-49c23f2d541ebf7ae5e9fff03301f4e7145cc979.tar.gz
kernel-49c23f2d541ebf7ae5e9fff03301f4e7145cc979.zip
perf script: 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]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r--tools/perf/builtin-script.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index b9b9e58a6c39..6b4925f65bf0 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;
}