aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2020-11-30 19:38:41 +0000
committerIngo Molnar <[email protected]>2021-03-06 11:52:44 +0000
commitafbef30149587ad46f4780b1e0cc5e219745ce90 (patch)
tree8ce1c9c814944c1d19a8bd10b19108ab2540822a /drivers/usb/cdns3/cdns3-plat.c
parentperf/core: Flush PMU internal buffers for per-CPU events (diff)
downloadkernel-afbef30149587ad46f4780b1e0cc5e219745ce90.tar.gz
kernel-afbef30149587ad46f4780b1e0cc5e219745ce90.zip
perf/x86/intel: Set PERF_ATTACH_SCHED_CB for large PEBS and LBR
To supply a PID/TID for large PEBS, it requires flushing the PEBS buffer in a context switch. For normal LBRs, a context switch can flip the address space and LBR entries are not tagged with an identifier, we need to wipe the LBR, even for per-cpu events. For LBR callstack, save/restore the stack is required during a context switch. Set PERF_ATTACH_SCHED_CB for the event with large PEBS & LBR. Fixes: 9c964efa4330 ("perf/x86/intel: Drain the PEBS buffer during context switches") Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions