projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tracepoint event: allow same provider and event name
[lttng-modules.git]
/
probes
/
lttng-uprobes.c
diff --git
a/probes/lttng-uprobes.c
b/probes/lttng-uprobes.c
index bda1d9b46cbce41a5e4a06c2c3b3124e634fbfe3..acb2627af029b83337556c9150f6f1133a2f4d00 100644
(file)
--- a/
probes/lttng-uprobes.c
+++ b/
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>
@@
-126,7
+126,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 "Cannot access file backing the fd(%d)\n", fd);
inode = NULL;
if (file == NULL) {
printk(KERN_WARNING "Cannot access file backing the fd(%d)\n", fd);
inode = NULL;
This page took
0.024 seconds
and
4
git commands to generate.