diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2020-10-22 14:24:02 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-04 01:00:37 +0000 |
commit | ffd52f9191c2b157849d36268d022943ced62ca3 (patch) | |
tree | c0a2889a3534a5d80e15cca163a9a3facb66ed04 | |
parent | ac61ab5c094e159bddc40af74f09bae395bdd8c9 (diff) | |
download | mongo-ffd52f9191c2b157849d36268d022943ced62ca3.tar.gz |
SERVER-51757 Collect /proc/vmstat numa_pages_migrated statistics in FTDCr4.2.11-rc0
(cherry picked from commit 8f7085e65c15f07658fb43bb26a2b4d444657160)
-rw-r--r-- | src/mongo/db/ftdc/ftdc_system_stats_linux.cpp | 1 | ||||
-rw-r--r-- | src/mongo/util/procparser_test.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/ftdc/ftdc_system_stats_linux.cpp b/src/mongo/db/ftdc/ftdc_system_stats_linux.cpp index 419edbdb878..7eff87c4d73 100644 --- a/src/mongo/db/ftdc/ftdc_system_stats_linux.cpp +++ b/src/mongo/db/ftdc/ftdc_system_stats_linux.cpp @@ -78,6 +78,7 @@ static const std::vector<StringData> kVMKeys{ "balloon_deflate"_sd, "balloon_inflate"_sd, "nr_mlock"_sd, + "numa_pages_migrated"_sd, "pgfault"_sd, "pgmajfault"_sd, "pswpin"_sd, diff --git a/src/mongo/util/procparser_test.cpp b/src/mongo/util/procparser_test.cpp index ef9294acf80..83b3699b9b5 100644 --- a/src/mongo/util/procparser_test.cpp +++ b/src/mongo/util/procparser_test.cpp @@ -696,6 +696,8 @@ TEST(FTDCProcVMStat, TestLocalVMStat) { "balloon_deflate"_sd, "balloon_inflate"_sd, "nr_mlock"_sd, + "numa_pages_migrated"_sd, // Not on RHEL 6, added with + // https://github.com/torvalds/linux/commit/03c5a6e16322c "pgfault"_sd, "pgmajfault"_sd, "pswpin"_sd, |