]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/open.c
UBUNTU: SAUCE: (no-up) trace: add trace events for open(), exec() and uselib() (for...
authorScott James Remnant <scott@ubuntu.com>
Tue, 27 Oct 2009 10:05:32 +0000 (10:05 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 5 Sep 2017 12:32:55 +0000 (07:32 -0500)
commit308a1eefcbf6a323aa5abc0d14cc223c6dd530b0
treeca5e98222b84ec7024216e49f7ae7bae61dfd64f
parent9fc9877f1c94a22a604c6c4870fc8c44f7f47045
UBUNTU: SAUCE: (no-up) trace: add trace events for open(), exec() and uselib() (for v3.7+)

BugLink: http://bugs.launchpad.net/bugs/462111
This patch uses TRACE_EVENT to add tracepoints for the open(),
exec() and uselib() syscalls so that ureadahead can cheaply trace
the boot sequence to determine what to read to speed up the next.

It's not upstream because it will need to be rebased onto the syscall
trace events whenever that gets merged, and is a stop-gap.

[apw@canonical.com: updated for v3.7 and later.]
[apw@canonical.com: updated for v3.19 and later.]
BugLink: http://bugs.launchpad.net/bugs/1085766
Signed-off-by: Scott James Remnant <scott@ubuntu.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Andy Whitcroft <andy.whitcroft@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Conflicts:

fs/open.c

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
fs/exec.c
fs/open.c
include/trace/events/fs.h [new file with mode: 0644]