diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-05-11 18:18:26 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-05-11 18:18:26 +0200 |
commit | 88095fc0adb871671ff9763bd5868d7c0c0ac350 (patch) | |
tree | 538694d9c6de33dfaae07e5512174a917ea57009 /lib/runtime_tools/c_src/dyntrace_lttng.h | |
parent | c324aab53c00cfe2d0809bf25fed14a78ccf3ac2 (diff) | |
download | otp-88095fc0adb871671ff9763bd5868d7c0c0ac350.tar.gz otp-88095fc0adb871671ff9763bd5868d7c0c0ac350.tar.bz2 otp-88095fc0adb871671ff9763bd5868d7c0c0ac350.zip |
runtime_tools: Change erts_snprintf to enif_snprintf
Diffstat (limited to 'lib/runtime_tools/c_src/dyntrace_lttng.h')
-rw-r--r-- | lib/runtime_tools/c_src/dyntrace_lttng.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/runtime_tools/c_src/dyntrace_lttng.h b/lib/runtime_tools/c_src/dyntrace_lttng.h index 3550a1cab5..2a3224e191 100644 --- a/lib/runtime_tools/c_src/dyntrace_lttng.h +++ b/lib/runtime_tools/c_src/dyntrace_lttng.h @@ -59,10 +59,10 @@ char Name[LTTNG_MFA_BUFFER_SZ] #define lttng_pid_to_str(pid, name) \ - erts_snprintf(name, LTTNG_PROC_BUFFER_SZ, "%T", (pid)) + enif_snprintf(name, LTTNG_PROC_BUFFER_SZ, "%T", (pid)) #define lttng_portid_to_str(pid, name) \ - erts_snprintf(name, LTTNG_PORT_BUFFER_SZ, "%T", (pid)) + enif_snprintf(name, LTTNG_PORT_BUFFER_SZ, "%T", (pid)) #define lttng_proc_to_str(p, name) \ lttng_pid_to_str(((p) ? (p)->common.id : ERTS_INVALID_PID), name) @@ -71,7 +71,7 @@ lttng_portid_to_str(((p) ? (p)->common.id : ERTS_INVALID_PORT), name) #define lttng_mfa_to_str(m,f,a, Name) \ - erts_snprintf(Name, LTTNG_MFA_BUFFER_SZ, "%T:%T/%lu", (Eterm)(m), (Eterm)(f), (Uint)(a)) + enif_snprintf(Name, LTTNG_MFA_BUFFER_SZ, "%T:%T/%lu", (Eterm)(m), (Eterm)(f), (Uint)(a)) /* Process scheduling */ |