Fix: all lttng-ust source files should be tagged _LGPL_SOURCE
[deliverable/lttng-ust.git] / liblttng-ust / lttng-ust-statedump.c
index e64b4f2538f79251da1f6627d2f1ab5569b30a95..bcb168be45948fc242c82db913ed1dfe052975fc 100644 (file)
@@ -17,9 +17,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#define _LGPL_SOURCE
 #define _GNU_SOURCE
-
+#define _LGPL_SOURCE
 #include <link.h>
 #include <limits.h>
 #include <stdio.h>
@@ -177,6 +176,8 @@ int trace_baddr(struct bin_info_data *bin_data)
                }
        } else {
                bin_data->memsz = 0;
+               bin_data->has_build_id = 0;
+               bin_data->has_debug_link = 0;
        }
 
        ret = trace_statedump_event(trace_bin_info_cb, bin_data->owner,
This page took 0.02337 seconds and 5 git commands to generate.