diff options
author | Rickard Green <[email protected]> | 2013-07-12 14:00:31 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-07-12 14:00:31 +0200 |
commit | bc30159f5eac936fa9c8ea97d2ab11564448ba7b (patch) | |
tree | db8ca243830044f16aea2e0f2d8fa2fc37546e5c /erts/emulator/beam/global.h | |
parent | ec37dd8deb5fff0f0aebffd5d8e086d3cb8e98bc (diff) | |
parent | 54c658c89dc8edae1e420861601eec068bc74676 (diff) | |
download | otp-bc30159f5eac936fa9c8ea97d2ab11564448ba7b.tar.gz otp-bc30159f5eac936fa9c8ea97d2ab11564448ba7b.tar.bz2 otp-bc30159f5eac936fa9c8ea97d2ab11564448ba7b.zip |
Merge branch 'rickard/warning_fixes' into maint
* rickard/warning_fixes:
Fix variable ‘rp_had_locks’ set but not used warning
Fix ‘ethr_native_rwlock_destroy’ defined but not used warning
Fix 'no previous prototype' warning for dtrace functions
Diffstat (limited to 'erts/emulator/beam/global.h')
-rwxr-xr-x | erts/emulator/beam/global.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index e5807b5ce6..2eec15867d 100755 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -1219,6 +1219,13 @@ erts_alloc_message_heap(Uint size, # define UnUseTmpHeapNoproc(Size) /* Nothing */ #endif /* HEAP_ON_C_STACK */ +ERTS_GLB_INLINE void dtrace_pid_str(Eterm pid, char *process_buf); +ERTS_GLB_INLINE void dtrace_proc_str(Process *process, char *process_buf); +ERTS_GLB_INLINE void dtrace_port_str(Port *port, char *port_buf); +ERTS_GLB_INLINE void dtrace_fun_decode(Process *process, + Eterm module, Eterm function, int arity, + char *process_buf, char *mfa_buf); + #if ERTS_GLB_INLINE_INCL_FUNC_DEF #include "dtrace-wrapper.h" |