[PATCH 05/18] perf hists: Convert hist entry functions to use struct he_stat

2013-12-17 Thread Namhyung Kim
From: Namhyung Kim hist_entry__add_cpumode_period() and hist_entry__decay() are dealing with hist_entry's stat fields only. So make them use the struct directly. Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 22 +++--- 1

[PATCH 05/18] perf hists: Convert hist entry functions to use struct he_stat

2013-12-17 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com hist_entry__add_cpumode_period() and hist_entry__decay() are dealing with hist_entry's stat fields only. So make them use the struct directly. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim