projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: file: Rename fcheck lookup_fd_rcu (v5.11)
[lttng-modules.git]
/
src
/
probes
/
lttng-uprobes.c
diff --git
a/src/probes/lttng-uprobes.c
b/src/probes/lttng-uprobes.c
index 368828e350f79cddbb87dde44980457a792cdeff..031bfa7cd3affafed75130840405d9c08ad17438 100644
(file)
--- a/
src/probes/lttng-uprobes.c
+++ b/
src/probes/lttng-uprobes.c
@@
-9,7
+9,7
@@
*
*/
*
*/
-#include <
linux
/fdtable.h>
+#include <
wrapper
/fdtable.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/namei.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/namei.h>
@@
-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;
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;
}
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.
*/
* 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;
if (file == NULL) {
printk(KERN_WARNING "LTTng: Cannot access file backing the fd(%d)\n", fd);
inode = NULL;
This page took
0.02382 seconds
and
4
git commands to generate.