aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2014-02-24 12:43:31 +0100
committerIngo Molnar <[email protected]>2014-02-27 12:43:26 +0100
commit4a2345937c17722bd2979f662ae909846b4a052a (patch)
tree4936c660a961dcbc9369850dfdf785a7c8f976f7 /tools/perf/scripts/python
parentc347a2f1793e285b0812343e715bb7e953dbdf68 (diff)
perf: Optimize group_sched_in()
Use the ctx pmu instead of the event pmu. When a group leader is a software event but the group contains hardware events, the entire group is on the hardware PMU. Using the hardware PMU for the transaction makes most sense since that's the most expensive one to programm (and software PMUs generally don't have TXN support anyway). Signed-off-by: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[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