]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - tools/perf/util/hist.c
perf hists: Reducing arguments of hist_entry_iter__add()
authorNamhyung Kim <namhyung@kernel.org>
Tue, 19 May 2015 08:04:10 +0000 (17:04 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 May 2015 15:21:43 +0000 (12:21 -0300)
commit063bd9363bb8979b2939bdc0412d98a8ac062e3b
treebd9bda7ed06583eeabf2d376a2711f36fc97eea4
parent554e92ed8fcdbcad736ef906c393847d44d52692
perf hists: Reducing arguments of hist_entry_iter__add()

The evsel and sample arguments are to set iter for later use.  As it
also receives an iter as another argument, just set them before calling
the function.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1432022650-18205-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c
tools/perf/builtin-top.c
tools/perf/tests/hists_cumulate.c
tools/perf/tests/hists_filter.c
tools/perf/tests/hists_output.c
tools/perf/util/hist.c
tools/perf/util/hist.h