X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-filter-validator.c;h=4bf534b577f0e1f9d1979fb9cf3bfd43ed237c8e;hb=b4e41c474238691b4619c40269cf6182189eb883;hp=fb5d2d6d899f5dcc27257500e2fd8754c927f4ec;hpb=d216ecaeeb6274154ace1317f61b9f3fe54ba857;p=lttng-modules.git diff --git a/lttng-filter-validator.c b/lttng-filter-validator.c index fb5d2d6d..4bf534b5 100644 --- a/lttng-filter-validator.c +++ b/lttng-filter-validator.c @@ -20,11 +20,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include #include -#include "wrapper/list.h" -#include "lttng-filter.h" +#include +#include #define MERGE_POINT_TABLE_BITS 7 #define MERGE_POINT_TABLE_SIZE (1U << MERGE_POINT_TABLE_BITS) @@ -103,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; }