perf hists: Convert hist entry functions to use struct he_stat
authorNamhyung Kim <[email protected]>
Tue, 14 Jan 2014 05:25:37 +0000 (14:25 +0900)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 15 Jan 2014 18:34:00 +0000 (15:34 -0300)
commitf39056f9c3275e648e2fb353561aeb377dd351f7
tree294fd0506fc845af21965077e841149b549b2117
parent2dc9fb1a7bf013ce24dd34bc25283b60b966f015
perf hists: Convert hist entry functions to use struct he_stat

The hist_entry__add_cpumode_period() and hist_entry__decay() functions
are dealing with hist_entry's stat fields only.

Make them he_stat methods then.

Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Arun Sharma <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rodrigo Campos <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/hist.c