diff options
author | Yan, Zheng <[email protected]> | 2014-11-04 21:55:59 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-02-18 17:16:03 +0100 |
commit | 2a0ad3b326a9024ba86dca4028499d31fa0c6c4d (patch) | |
tree | 3c710a73ad62005b1e60ebe9f32a8235604de43e /scripts/gdb/linux/modules.py | |
parent | ba532500c5651a4be4108acc64ed99a95cb005b3 (diff) |
perf/x86/intel: Use context switch callback to flush LBR stack
Previous commit introduces context switch callback, its function
overlaps with the flush branch stack callback. So we can use the
context switch callback to flush LBR stack.
This patch adds code that uses the flush branch callback to
flush the LBR stack when task is being scheduled in. The callback
is enabled only when there are events use the LBR hardware. This
patch also removes all old flush branch stack code.
Signed-off-by: Yan, Zheng <[email protected]>
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Vince Weaver <[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