diff options
author | Ingo Molnar <mingo@elte.hu> | 2012-01-08 06:36:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2012-01-08 06:36:18 -0500 |
commit | b9f616bbf4a917398aa09db89efbdf9a204e80dc (patch) | |
tree | 63bc9febd7a45c6f8ad5bfb17723a03c9071fea9 /tools/perf/builtin-top.c | |
parent | 636f0c70f2557e0819b50c74e31b4a027327015e (diff) | |
parent | cc5a91e972212aea022ff86b2c11d3e84d552bf5 (diff) |
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 4f81eeb99875..d89dec90103e 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -235,7 +235,6 @@ static struct hist_entry *perf_evsel__add_hist_entry(struct perf_evsel *evsel, | |||
235 | if (he == NULL) | 235 | if (he == NULL) |
236 | return NULL; | 236 | return NULL; |
237 | 237 | ||
238 | evsel->hists.stats.total_period += sample->period; | ||
239 | hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE); | 238 | hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE); |
240 | return he; | 239 | return he; |
241 | } | 240 | } |