Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Schulhof <gabriel.schulhof@intel.com>2020-03-17 23:42:37 +0300
committerMyles Borins <mylesborins@google.com>2020-03-24 09:55:12 +0300
commit243d0d471611f05ebf80c3a520f841d5cd6840e7 (patch)
treee7ebf44179f696eb729f7fd653f6f05bd779bd97 /src/debug_utils.h
parent4d173ea7d6f7f656f2c6868651192be0d1c312b9 (diff)
src: add debug option to report large page stats
This adds the new option `HUGEPAGES` to `NODE_DEBUG_NATIVE` that causes the code responsible for re-mapping to large pages to output memory range and page count information to `stderr`. Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com> PR-URL: https://github.com/nodejs/node/pull/32331 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
Diffstat (limited to 'src/debug_utils.h')
-rw-r--r--src/debug_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug_utils.h b/src/debug_utils.h
index b654159ac2a..b74bd87b9b8 100644
--- a/src/debug_utils.h
+++ b/src/debug_utils.h
@@ -40,6 +40,7 @@ void FWrite(FILE* file, const std::string& str);
// from a provider type to a debug category.
#define DEBUG_CATEGORY_NAMES(V) \
NODE_ASYNC_PROVIDER_TYPES(V) \
+ V(HUGEPAGES) \
V(INSPECTOR_SERVER) \
V(INSPECTOR_PROFILER) \
V(CODE_CACHE) \