projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add dup probe to lttng module
[lttng-modules.git]
/
probes
/
fs-trace.c
diff --git
a/probes/fs-trace.c
b/probes/fs-trace.c
index ccfc28203d72fb21db6a8f5da42e445006315e00..4635c881f547bef791947d490edc3f778d7ba79d 100644
(file)
--- a/
probes/fs-trace.c
+++ b/
probes/fs-trace.c
@@
-153,6
+153,12
@@
void probe_fs_poll(void *_data, int fd)
"fd %d", fd);
}
"fd %d", fd);
}
+void probe_fs_dup(void *_data, unsigned int oldfd, unsigned int newfd)
+{
+ trace_mark_tp(fs, dup, fs_dup, probe_fs_dup,
+ "oldfd %d newfd %d", oldfd, newfd);
+}
+
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers");
MODULE_DESCRIPTION("FS Tracepoint Probes");
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Mathieu Desnoyers");
MODULE_DESCRIPTION("FS Tracepoint Probes");
This page took
0.024015 seconds
and
4
git commands to generate.