Fix: add "has_build_id" and "has_debug_link" fields to debuginfo events
[lttng-ust.git] / liblttng-ust-dl / lttng-ust-dl.c
index 954d9dfcb7381025e82054b110a525ae5855e717..e4cb42068ed1548ab10eaa4a1b850b2a19d45eb8 100644 (file)
@@ -104,7 +104,8 @@ void lttng_ust_dl_dlopen(void *so_base, const char *so_name, void *ip)
        }
 
        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,
@@ -144,7 +145,7 @@ void *dlopen(const char *filename, int flag)
 
 int dlclose(void *handle)
 {
-       if (__tracepoint_ptrs_registered && handle) {
+       if (__tracepoint_ptrs_registered) {
                struct link_map *p = NULL;
                int ret;
 
This page took 0.023736 seconds and 4 git commands to generate.