[PATCH 01/10] perf hist: Pass struct sample to __hists__add_entry()

2015-12-21 Thread Namhyung Kim
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 --- tools/perf/builtin-annotate.c | 7 +-- tools/perf/builtin-diff.c | 11

[PATCH 01/10] perf hist: Pass struct sample to __hists__add_entry()

2015-12-21 Thread Namhyung Kim
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 --- tools/perf/builtin-annotate.c | 7 +--

[PATCH 01/10] perf hist: Pass struct sample to __hists__add_entry()

2015-12-15 Thread Namhyung Kim
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 --- tools/perf/builtin-annotate.c | 7 +-- tools/perf/builtin-diff.c | 11

[PATCH 01/10] perf hist: Pass struct sample to __hists__add_entry()

2015-12-15 Thread Namhyung Kim
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 --- tools/perf/builtin-annotate.c | 7 +--