diff options
author | Yan, Zheng <[email protected]> | 2014-11-04 21:56:02 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-02-18 17:16:07 +0100 |
commit | 5a158c3ccd2183a7b0866be6685d001fe653430f (patch) | |
tree | b270d5bca5169d27285abead59f8cbf74dda683a /scripts/gdb/linux/modules.py | |
parent | 4af57ef28c2c1047fda9e1a5be02aa7a6a69cf9e (diff) |
perf: Always switch pmu specific data during context switch
If two tasks were both forked from the same parent task, Events in
their perf task contexts can be the same. Perf core may leave out
switching the perf event contexts.
Previous patch inroduces pmu specific data. The data is for saving
the LBR stack, it is task specific. So we need to switch the data
even when context switch is optimized out.
Signed-off-by: Yan, Zheng <[email protected]>
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions