]>
git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - tools/perf/arch/x86/util/group.c
3 #include "util/group.h"
6 * Check whether we can use a group for top down.
7 * Without a group may get bad results due to multiplexing.
9 bool arch_topdown_check_group(bool *warn
)
13 if (sysctl__read_int("kernel/nmi_watchdog", &n
) < 0)
22 void arch_topdown_group_warn(void)
25 "nmi_watchdog enabled with topdown. May give wrong results.\n"
26 "Disable with echo 0 > /proc/sys/kernel/nmi_watchdog\n");