}
tracepoint(lttng_ust_dl, dlopen,
- ip, so_base, resolved_path, memsz);
+ ip, so_base, resolved_path, memsz,
+ has_build_id, has_debug_link);
if (has_build_id) {
tracepoint(lttng_ust_dl, build_id,
int dlclose(void *handle)
{
- if (__tracepoint_ptrs_registered && handle) {
+ if (__tracepoint_ptrs_registered) {
struct link_map *p = NULL;
int ret;