*
*/
-#include <linux/fdtable.h>
+#include <wrapper/fdtable.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/namei.h>
unsigned long ip;
} payload;
- if (unlikely(!READ_ONCE(chan->session->active)))
+ if (unlikely(!LTTNG_READ_ONCE(chan->session->active)))
return 0;
- if (unlikely(!READ_ONCE(chan->enabled)))
+ if (unlikely(!LTTNG_READ_ONCE(chan->enabled)))
return 0;
- if (unlikely(!READ_ONCE(event->enabled)))
+ if (unlikely(!LTTNG_READ_ONCE(event->enabled)))
return 0;
lib_ring_buffer_ctx_init(&ctx, chan->chan, <tng_probe_ctx,
* Returns the file backing the given fd. Needs to be done inside an RCU
* critical section.
*/
- file = fcheck(fd);
+ file = lttng_lookup_fd_rcu(fd);
if (file == NULL) {
printk(KERN_WARNING "Cannot access file backing the fd(%d)\n", fd);
inode = NULL;