diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-12-17 12:34:00 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-12-17 12:34:00 +0000 |
commit | 2eea2ff7cb37c926222f023e6e587d0c5a6fbbc1 (patch) | |
tree | 5f62207e0719e265275a1641febc8eb7c840d2ff /vespamalloc/src/vespamalloc/malloc/threadpool.hpp | |
parent | 8c379d0f7b7f670666abae9ee9e3b9516a091835 (diff) |
- Add support for giving out a global callgraph for all threads on level 2.
- You need level 3 to get a callgraph per thread.
You normally want to see the global callgraph prior to drilling in to each thread.
Diffstat (limited to 'vespamalloc/src/vespamalloc/malloc/threadpool.hpp')
-rw-r--r-- | vespamalloc/src/vespamalloc/malloc/threadpool.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespamalloc/src/vespamalloc/malloc/threadpool.hpp b/vespamalloc/src/vespamalloc/malloc/threadpool.hpp index 2d3c020578b..4b5277a6396 100644 --- a/vespamalloc/src/vespamalloc/malloc/threadpool.hpp +++ b/vespamalloc/src/vespamalloc/malloc/threadpool.hpp @@ -28,7 +28,7 @@ void ThreadPoolT<MemBlockPtrT, ThreadStatT>::info(FILE * os, size_t level, const } } } - if (level > 1) { + if (level > 2) { fprintf(os, "BlockList:%ld,%ld,%ld\n", NELEMS(_stat), sizeof(_stat), sizeof(_stat[0])); size_t sum(0), sumLocal(0); for (size_t i=0; i < NELEMS(_stat); i++) { |