UBUNTU: SAUCE: (no-up) trace: add trace events for open(), exec() and uselib()
authorScott James Remnant <scott@ubuntu.com>
Tue, 27 Oct 2009 10:05:32 +0000 (10:05 +0000)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:48:15 +0000 (06:48 -0700)
commit5c0b22e36347ea84437d6d2d9e554e032b2e7a0c
treee48f21bc77f76bc9c01688cb18dc27a3f9055629
parent4cc249b1cf6918c7a4ea6ba8a1264247a757a7a6
UBUNTU: SAUCE: (no-up) trace: add trace events for open(), exec() and uselib()

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.

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>
fs/exec.c
fs/open.c
include/trace/events/fs.h [new file with mode: 0644]