*/
#include <linux/module.h>
-#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/sched.h>
#include <linux/slab.h>
#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"
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;
}
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;
}