aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorQi Liu <[email protected]>2020-07-17 08:49:23 +0000
committerWill Deacon <[email protected]>2020-07-17 09:51:44 +0000
commitf32ed8eb0e3f0d0ef4ddb854554d60ca5863a9f9 (patch)
tree455b30ad8a4efffe84e472e9036fcd319eab0f82 /scripts/gcc-plugins/sancov_plugin.c
parentasm-generic/mmiowb: Allow mmiowb_set_pending() when preemptible() (diff)
downloadkernel-f32ed8eb0e3f0d0ef4ddb854554d60ca5863a9f9.tar.gz
kernel-f32ed8eb0e3f0d0ef4ddb854554d60ca5863a9f9.zip
drivers/perf: Prevent forced unbinding of PMU drivers
Forcefully unbinding PMU drivers during perf sampling will lead to a kernel panic, because the perf upper-layer framework call a NULL pointer in this situation. To solve this issue, "suppress_bind_attrs" should be set to true, so that bind/unbind can be disabled via sysfs and prevent unbinding PMU drivers during perf sampling. Signed-off-by: Qi Liu <[email protected]> Reviewed-by: John Garry <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions