X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.c;h=7055c3ed05af5f812edf319d8d7323a93b4a3c84;hb=f934e302d314d76563484f31caed56ad680eb17b;hp=d7efd425e88c9b2ed109ee11d12fbf919f67eba3;hpb=7e6f9ef6f2e62dfe359b94562cd98197367ddbac;p=lttng-modules.git diff --git a/lttng-events.c b/lttng-events.c index d7efd425..7055c3ed 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -21,7 +21,6 @@ */ #include -#include #include #include #include @@ -36,6 +35,7 @@ #include "wrapper/vmalloc.h" /* for wrapper_vmalloc_sync_all() */ #include "wrapper/random.h" #include "wrapper/tracepoint.h" +#include "wrapper/list.h" #include "lttng-kernel-version.h" #include "lttng-events.h" #include "lttng-tracer.h" @@ -678,7 +678,7 @@ void *pid_list_start(struct seq_file *m, loff_t *pos) for (i = 0; i < LTTNG_PID_TABLE_SIZE; i++) { struct hlist_head *head = &lpf->pid_hash[i]; - hlist_for_each_entry(e, head, hlist) { + lttng_hlist_for_each_entry(e, head, hlist) { if (iter++ >= *pos) return e; } @@ -709,7 +709,7 @@ void *pid_list_next(struct seq_file *m, void *p, loff_t *ppos) for (i = 0; i < LTTNG_PID_TABLE_SIZE; i++) { struct hlist_head *head = &lpf->pid_hash[i]; - hlist_for_each_entry(e, head, hlist) { + lttng_hlist_for_each_entry(e, head, hlist) { if (iter++ >= *ppos) return e; }