diff options
author | Lukas Larsson <[email protected]> | 2013-05-13 16:24:33 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-05-13 16:45:41 +0200 |
commit | 9116b4b6a19e18c926d218b325dfa6ddd4e04f41 (patch) | |
tree | 26207a5a35f69a78dc281f2eed863cb477423dc3 /erts/emulator/beam/erl_process.h | |
parent | 89939207898fc68a2ee0c080e603aa65fb866b25 (diff) | |
download | otp-9116b4b6a19e18c926d218b325dfa6ddd4e04f41.tar.gz otp-9116b4b6a19e18c926d218b325dfa6ddd4e04f41.tar.bz2 otp-9116b4b6a19e18c926d218b325dfa6ddd4e04f41.zip |
Print process memory usage info in crash dump
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r-- | erts/emulator/beam/erl_process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h index 3d3579fa7e..c40a6f86e4 100644 --- a/erts/emulator/beam/erl_process.h +++ b/erts/emulator/beam/erl_process.h @@ -1421,6 +1421,8 @@ Eterm erts_debug_reader_groups_map(Process *c_p, int groups); Uint erts_debug_nbalance(void); int erts_debug_wait_deallocations(Process *c_p); +Uint erts_process_memory(Process *c_p); + #ifdef ERTS_SMP # define ERTS_GET_SCHEDULER_DATA_FROM_PROC(PROC) ((PROC)->scheduler_data) # define ERTS_PROC_GET_SCHDATA(PROC) ((PROC)->scheduler_data) |