diff options
author | Peter Zijlstra <[email protected]> | 2012-10-02 15:38:52 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-10-05 13:59:06 +0200 |
commit | 3f1f33206c16c7b3839d71372bc2ac3f305aa802 (patch) | |
tree | 683e2af07cb49e9a333f982e72088929027881c1 /tools/perf/scripts/python | |
parent | 2e132b12f78d88672711ae1d87624951de1089ca (diff) |
perf: Clarify perf_cpu_context::active_pmu usage by renaming it to ::unique_pmu
Stephane thought the perf_cpu_context::active_pmu name confusing and
suggested using 'unique_pmu' instead.
This pointer is a pointer to a 'random' pmu sharing the cpuctx
instance, therefore limiting a for_each_pmu loop to those where
cpuctx->unique_pmu matches the pmu we get a loop over unique cpuctx
instances.
Suggested-by: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions