diff options
author | Lukas Larsson <[email protected]> | 2016-10-11 08:14:04 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-10-12 15:40:19 +0200 |
commit | c283f299551d53b62027ae1a8b189285c57573e8 (patch) | |
tree | e7fe5af786c90eda8b80d9a5c17558756e5c610e /erts/emulator/beam/erl_process.c | |
parent | ab3ea86a2ad0015eb8a5a46e01a1ad4ad51da4e1 (diff) | |
download | otp-c283f299551d53b62027ae1a8b189285c57573e8.tar.gz otp-c283f299551d53b62027ae1a8b189285c57573e8.tar.bz2 otp-c283f299551d53b62027ae1a8b189285c57573e8.zip |
erts: Fix some dtrace related compile issues
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index d0a0310544..dd5943b5cf 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -11690,11 +11690,12 @@ erl_create_process(Process* parent, /* Parent of process (default group leader). #ifdef USE_VM_PROBES if (DTRACE_ENABLED(process_spawn)) { + ErtsCodeMFA cmfa = {mod, func, arity}; DTRACE_CHARBUF(process_name, DTRACE_TERM_BUF_SIZE); - DTRACE_CHARBUF(mfa, DTRACE_TERM_BUF_SIZE); + DTRACE_CHARBUF(mfa_buf, DTRACE_TERM_BUF_SIZE); - dtrace_fun_decode(p, mod, func, arity, process_name, mfa); - DTRACE2(process_spawn, process_name, mfa); + dtrace_fun_decode(p, &cmfa, process_name, mfa_buf); + DTRACE2(process_spawn, process_name, mfa_buf); } #endif return res; |