perf hist: Pass struct sample to __hists__add_entry()
authorNamhyung Kim <namhyung@kernel.org>
Tue, 22 Dec 2015 17:06:58 +0000 (02:06 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Jan 2016 23:11:10 +0000 (20:11 -0300)
commitfd36f3dd79331b9610664b867ff205465bf9ce68
treeea10d151dc30cfbe951055df12dd58f8456ac475
parent9cc2617de5b9222abb39cd02e90d57dfea99c6d7
perf hist: Pass struct sample to __hists__add_entry()

This is a preparation to add more info into the hist_entry.  Also it
already passes too many argument, so passing sample directly will reduce
the overhead of the function call.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1450804030-29193-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/builtin-diff.c
tools/perf/tests/hists_link.c
tools/perf/util/hist.c
tools/perf/util/hist.h