Fix: mm_page_alloc_extfrag instrumentation for kernel 3.16.35
[deliverable/lttng-modules.git] / lttng-filter-validator.c
index a996945d59143855fa17c80adb6d7b5d22c421c7..4bf534b577f0e1f9d1979fb9cf3bfd43ed237c8e 100644 (file)
@@ -24,8 +24,8 @@
 #include <linux/jhash.h>
 #include <linux/slab.h>
 
-#include "wrapper/list.h"
-#include "lttng-filter.h"
+#include <wrapper/list.h>
+#include <lttng-filter.h>
 
 #define MERGE_POINT_TABLE_BITS         7
 #define MERGE_POINT_TABLE_SIZE         (1U << MERGE_POINT_TABLE_BITS)
@@ -104,8 +104,9 @@ int merge_point_add_check(struct mp_table *mp_table, unsigned long target_pc,
                                target_pc);
                        return -EINVAL;
                }
+       } else {
+               hlist_add_head(&mp_node->node, head);
        }
-       hlist_add_head(&mp_node->node, head);
        return 0;
 }
 
This page took 0.028535 seconds and 5 git commands to generate.