X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=libustinstr-malloc%2Fmallocwrap.c;h=a7730c9b2b0866cf6b5eeddf22b9d8a7f94c37ea;hb=b521931e0000388ff9080d46719936be98af54c6;hp=c473567da1f46a5a9b35b6fd6f29976b19225921;hpb=b64d025089c6d40963e029cff23efed4ed1f2f22;p=ust.git diff --git a/libustinstr-malloc/mallocwrap.c b/libustinstr-malloc/mallocwrap.c index c473567..a7730c9 100644 --- a/libustinstr-malloc/mallocwrap.c +++ b/libustinstr-malloc/mallocwrap.c @@ -53,7 +53,7 @@ __I_FUNC_TYPE __I_FUNC_NAME(__I_FUNC_ARGS) \ } \ } \ \ - trace_mark(ust, __I_FUNC_NAME, __I_TRACE_FMT, __I_TRACE_ARGS); \ + ust_marker(ust, __I_FUNC_NAME, __I_TRACE_FMT, __I_TRACE_ARGS); \ \ return plibc_ ## __I_FUNC_NAME (__I_CALL_ARGS); \ } @@ -75,7 +75,7 @@ void *malloc(size_t size) retval = plibc_malloc(size); - trace_mark(malloc, "size %d ptr %p", (int)size, retval); + ust_marker(malloc, "size %d ptr %p", (int)size, retval); return retval; } @@ -92,9 +92,9 @@ void free(void *ptr) } } - trace_mark(free, "ptr %p", ptr); + ust_marker(free, "ptr %p", ptr); plibc_free(ptr); } -MARKER_LIB +UST_MARKER_LIB