X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libustinstr-malloc%2Fmallocwrap.c;h=a7730c9b2b0866cf6b5eeddf22b9d8a7f94c37ea;hb=b0c4126fca44c9fdc9b350ce0e896ec2818fbb3e;hp=c473567da1f46a5a9b35b6fd6f29976b19225921;hpb=37ee34e4d9b9363c758aa43255d71661900e89b0;p=lttng-ust.git diff --git a/libustinstr-malloc/mallocwrap.c b/libustinstr-malloc/mallocwrap.c index c473567d..a7730c9b 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