diff options
author | Damien Zammit <damien@zamaudio.com> | 2023-09-30 06:31:04 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-09-30 10:47:40 +0200 |
commit | 507dc37fa014714d4cc74df221227e0894d042c2 (patch) | |
tree | c1dc083129a697802e99a3465e71cc9edbb521e4 /configfrag.ac | |
parent | 4492f5358da5a933af270dac7109f689bebe2a37 (diff) | |
download | gnumach-507dc37fa014714d4cc74df221227e0894d042c2.tar.gz gnumach-507dc37fa014714d4cc74df221227e0894d042c2.tar.bz2 gnumach-507dc37fa014714d4cc74df221227e0894d042c2.zip |
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>
Diffstat (limited to 'configfrag.ac')
-rw-r--r-- | configfrag.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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], |