From 507dc37fa014714d4cc74df221227e0894d042c2 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sat, 30 Sep 2023 06:31:04 +0000 Subject: Allow disabling of MACH_PCSAMPLE and disable by default This fixes a page fault when the sampling occurs in MP. Perhaps it is not MP safe yet. Message-Id: <20230930063032.75232-4-damien@zamaudio.com> --- configfrag.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configfrag.ac') diff --git a/configfrag.ac b/configfrag.ac index 3c3ba3aa..290a1596 100644 --- a/configfrag.ac +++ b/configfrag.ac @@ -99,7 +99,7 @@ AC_DEFINE([MACH_MP_DEBUG], [0], [MACH_MP_DEBUG]) AC_DEFINE([MACH_PAGEMAP], [1], [MACH_PAGEMAP]) # Do pc sample histogram. -AC_DEFINE([MACH_PCSAMPLE], [1], [MACH_PCSAMPLE]) +AC_DEFINE([MACH_PCSAMPLE], [0], [MACH_PCSAMPLE]) # Sample kernel too. AC_ARG_ENABLE([kernsample], -- cgit v1.2.3