diff options
| author | Ingo Molnar <[email protected]> | 2011-04-27 02:36:37 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2011-04-26 18:04:56 +0000 |
| commit | dcd9936a5a6d89512b5323c1145647f2dbe0236f (patch) | |
| tree | 5ad83bc4f2a61e5ff65d4d0950cee6a36b65696d /tools/perf/util/python.c | |
| parent | perf stat: Make all displayed event names parseable as well (diff) | |
| download | kernel-dcd9936a5a6d89512b5323c1145647f2dbe0236f.tar.gz kernel-dcd9936a5a6d89512b5323c1145647f2dbe0236f.zip | |
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/util/python.c')
0 files changed, 0 insertions, 0 deletions
