aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.h
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-05-13 16:24:33 +0200
committerLukas Larsson <[email protected]>2013-05-13 16:45:41 +0200
commit9116b4b6a19e18c926d218b325dfa6ddd4e04f41 (patch)
tree26207a5a35f69a78dc281f2eed863cb477423dc3 /erts/emulator/beam/erl_process.h
parent89939207898fc68a2ee0c080e603aa65fb866b25 (diff)
downloadotp-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.h2
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)