]>
xen/sysctl: wrap around XEN_SYSCTL_perfc_op
authorPenny Zheng <Penny.Zheng@amd.com>
Mon, 30 Jun 2025 08:02:35 +0000 (10:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 30 Jun 2025 08:02:35 +0000 (10:02 +0200)
commitdbe929a2205df4397e70c314fc942f3e29c84951
treefe47b10fee3089087c79661f4c3b3fa58c903098
parent1d62a36aaa0273fbd61e774a736cd9e2423d906b
xen/sysctl: wrap around XEN_SYSCTL_perfc_op

perfc_control() and perfc_copy_info() are responsible for providing control
of perf counters via XEN_SYSCTL_perfc_op in DOM0, so they both shall
be wrapped.

Signed-off-by: Penny Zheng <Penny.Zheng@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/common/perfc.c