diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-04-24 11:21:46 +0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-04-24 18:30:30 +0400 |
commit | 6263835a1b1ad137f3c26a1383c0487a9388d06e (patch) | |
tree | 182e8d9566b516e55ce853be1eb4813dd950cdbf /tools/perf/builtin-diff.c | |
parent | 58c311da9cec97d7a665156a726bd1653384c65c (diff) | |
download | linux-6263835a1b1ad137f3c26a1383c0487a9388d06e.tar.xz |
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); } } |