UBUNTU: SAUCE: (no-up) trace: add trace events for open(), exec() and uselib()
[linux-flexiantxendom0-natty.git] / fs / exec.c
index 52a447d..9cfbbd8 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -56,6 +56,8 @@
 #include <linux/pipe_fs_i.h>
 #include <linux/oom.h>
 
+#include <trace/events/fs.h>
+
 #include <asm/uaccess.h>
 #include <asm/mmu_context.h>
 #include <asm/tlb.h>
@@ -737,6 +739,8 @@ struct file *open_exec(const char *name)
 
        fsnotify_open(file);
 
+       trace_open_exec(name);
+
        err = deny_write_access(file);
        if (err)
                goto exit;