diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-04-24 09:21:46 +0200 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-04-24 16:30:30 +0200 |
commit | 6263835a1b1ad137f3c26a1383c0487a9388d06e (patch) | |
tree | 182e8d9566b516e55ce853be1eb4813dd950cdbf /tools/perf/builtin-diff.c | |
parent | perf report: Count number of entries separately (diff) | |
download | linux-6263835a1b1ad137f3c26a1383c0487a9388d06e.tar.xz linux-6263835a1b1ad137f3c26a1383c0487a9388d06e.zip |
perf hists: Rename hists__inc_stats()
The existing hists__inc_nr_entries() is a misnomer as it's not only
increasing ->nr_entries but also other stats. So rename it to more
general hists__inc_stats().
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398327843-31845-3-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/builtin-diff.c')
-rw-r--r-- | tools/perf/builtin-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index 6ef80f22c1e2..0e46fa1b5ca0 100644 --- a/tools/perf/builtin-diff.c +++ b/tools/perf/builtin-diff.c @@ -586,7 +586,7 @@ static void hists__compute_resort(struct hists *hists) next = rb_next(&he->rb_node_in); insert_hist_entry_by_compute(&hists->entries, he, compute); - hists__inc_nr_entries(hists, he); + hists__inc_stats(hists, he); } } |