X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-filter-validator.c;h=a996945d59143855fa17c80adb6d7b5d22c421c7;hb=b37d476e197064573206a68ed3bcc2e63257edd8;hp=e785799a13b40827837b76269631a941786c2c99;hpb=f127e61ee231d002fb9a7803643a157e06f6d2e2;p=lttng-modules.git diff --git a/lttng-filter-validator.c b/lttng-filter-validator.c index e785799a..a996945d 100644 --- a/lttng-filter-validator.c +++ b/lttng-filter-validator.c @@ -20,10 +20,11 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include #include #include +#include "wrapper/list.h" #include "lttng-filter.h" #define MERGE_POINT_TABLE_BITS 7 @@ -87,7 +88,7 @@ int merge_point_add_check(struct mp_table *mp_table, unsigned long target_pc, memcpy(&mp_node->stack, stack, sizeof(mp_node->stack)); head = &mp_table->mp_head[hash & (MERGE_POINT_TABLE_SIZE - 1)]; - hlist_for_each_entry(lookup_node, head, node) { + lttng_hlist_for_each_entry(lookup_node, head, node) { if (lttng_hash_match(lookup_node, target_pc)) { found = 1; break; @@ -369,7 +370,7 @@ unsigned long delete_all_nodes(struct mp_table *mp_table) struct hlist_head *head; head = &mp_table->mp_head[i]; - hlist_for_each_entry_safe(mp_node, tmp, head, node) { + lttng_hlist_for_each_entry_safe(mp_node, tmp, head, node) { kfree(mp_node); nr_nodes++; } @@ -739,7 +740,7 @@ int validate_instruction_all_contexts(struct bytecode_runtime *bytecode, /* Validate merge points */ hash = jhash_1word(target_pc, 0); head = &mp_table->mp_head[hash & (MERGE_POINT_TABLE_SIZE - 1)]; - hlist_for_each_entry(mp_node, head, node) { + lttng_hlist_for_each_entry(mp_node, head, node) { if (lttng_hash_match(mp_node, target_pc)) { found = 1; break;