aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2022-09-26 08:23:51 +0200
committerJuergen Gross <jgross@suse.com>2022-10-11 10:50:51 +0200
commit8714f7bcd3c20d36890f43cc6a8e0c3c17b843aa (patch)
treeee323125ca1747c841781668e97f3a31c5bd5151 /scripts/gcc-plugins/sancov_plugin.c
parent61367688f1fb07678b1d865a0ce9364f5267a896 (diff)
xen/pv: add fault recovery control to pmu msr accesses
Today pmu_msr_read() and pmu_msr_write() fall back to the safe variants of read/write MSR in case the MSR access isn't emulated via Xen. Allow the caller to select that faults should not be recovered from by passing NULL for the error pointer. Restructure the code to make it more readable. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions