projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Markers: make __ust_marker_ptrs PIC
[lttng-ust.git]
/
libustinstr-malloc
/
mallocwrap.c
diff --git
a/libustinstr-malloc/mallocwrap.c
b/libustinstr-malloc/mallocwrap.c
index f5d5ce38b669f7184d7a24e18201fb0fb440e93d..a7730c9b2b0866cf6b5eeddf22b9d8a7f94c37ea 100644
(file)
--- 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); \
}
\
return plibc_ ## __I_FUNC_NAME (__I_CALL_ARGS); \
}
@@
-75,7
+75,7
@@
void *malloc(size_t size)
retval = plibc_malloc(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;
}
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);
}
plibc_free(ptr);
}
-MARKER_LIB
+
UST_
MARKER_LIB
This page took
0.042007 seconds
and
4
git commands to generate.