aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2011-04-27 04:36:37 +0200
committerIngo Molnar <[email protected]>2011-04-26 20:04:56 +0200
commitdcd9936a5a6d89512b5323c1145647f2dbe0236f (patch)
tree5ad83bc4f2a61e5ff65d4d0950cee6a36b65696d /tools/perf/scripts/python/sctop.py
parent749141d926faf23ef811686a8050e7cf13dc223f (diff)
perf stat: Factor our shadow stats
Create update_shadow_stats() which is then used in both read_counter_aggr() and read_counter(). This not only simplifies the code but also fixes a bug: HW_CACHE_REFERENCES was not updated in read_counter(). Acked-by: Peter Zijlstra <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions