diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-03-20 10:09:01 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-03-20 10:30:18 +0100 |
| commit | e141aa4ba604ff22c68454112501c166d3e892c9 (patch) | |
| tree | 31b8f8f363e0042f48af9a9291efebc9aee1d139 /src/httpserver.cpp | |
| parent | Merge #10027: Set to nullptr after delete (diff) | |
| download | discoin-e141aa4ba604ff22c68454112501c166d3e892c9.tar.xz discoin-e141aa4ba604ff22c68454112501c166d3e892c9.zip | |
Add mallocinfo mode to `getmemoryinfo` RPC
This adds a mode argument to `getmemoryinfo`. By default the output
will remain the same. However if a mode argument of `mallocinfo` is
provided the result of glibc `malloc_info` (if available) will
be returned as a string, as-is.
This is useful for tracking heap usage over time or troubleshooting
memory fragmentation issues.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions