X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=libustinstr-malloc%2Fmallocwrap.c;h=a7730c9b2b0866cf6b5eeddf22b9d8a7f94c37ea;hb=fd0a1aea7b67696a87ffe70b8d3d8c15424f0bca;hp=f5d5ce38b669f7184d7a24e18201fb0fb440e93d;hpb=d169a27dd79a872d5c44f0547a2bb33bb8402b80;p=ust.git diff --git a/libustinstr-malloc/mallocwrap.c b/libustinstr-malloc/mallocwrap.c index f5d5ce3..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(ust, 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(ust, free, "ptr %p", ptr); + ust_marker(free, "ptr %p", ptr); plibc_free(ptr); } -MARKER_LIB +UST_MARKER_LIB