X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fprobes%2Flttng-uprobes.c;h=031bfa7cd3affafed75130840405d9c08ad17438;hb=0aebcd682f2b7dc028e635297c504b39439551da;hp=368828e350f79cddbb87dde44980457a792cdeff;hpb=9de67196ec41ae39fd73e49259da50119c21bfcc;p=lttng-modules.git diff --git a/src/probes/lttng-uprobes.c b/src/probes/lttng-uprobes.c index 368828e3..031bfa7c 100644 --- a/src/probes/lttng-uprobes.c +++ b/src/probes/lttng-uprobes.c @@ -9,7 +9,7 @@ * */ -#include +#include #include #include #include @@ -73,7 +73,7 @@ int lttng_uprobes_event_notifier_handler_pre(struct uprobe_consumer *uc, struct if (unlikely(!READ_ONCE(event_notifier->enabled))) return 0; - event_notifier->send_notification(event_notifier); + event_notifier->send_notification(event_notifier, NULL, NULL); return 0; } @@ -170,7 +170,7 @@ static struct inode *get_inode_from_fd(int fd) * 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 "LTTng: Cannot access file backing the fd(%d)\n", fd); inode = NULL;