perf hists: Separate overhead and baseline columns
authorJiri Olsa <[email protected]>
Thu, 4 Oct 2012 12:49:37 +0000 (21:49 +0900)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 4 Oct 2012 16:28:49 +0000 (13:28 -0300)
commit5395a04841fcdd9220177f2c21353fe6d4cd0729
tree5a382c4664dcda284c3aa963eca28148b419cb41
parentdd464345f330c1103f93daad309e8b44845e96cf
perf hists: Separate overhead and baseline columns

Currently the overhead and baseline columns are handled within single
function and the distinction is made by 'baseline hists' pointer passed
by 'struct perf_hpp::ptr'.

Since hists pointer is now part of each hist_entry, it's possible to
locate paired hists pointer directly from the passed struct hist_entry
pointer.

Also separating those 2 columns makes the code more obvious.

Signed-off-by: Jiri Olsa <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/ui/hist.c
tools/perf/ui/stdio/hist.c
tools/perf/util/hist.h