diff options
| author | John Levon <levon@movementarian.org> | 2002-10-15 04:30:32 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-15 04:30:32 -0700 |
| commit | 7e1aee05c99cfbb7e5cf33bae11ab9fa8df6c57c (patch) | |
| tree | 51704e67bd9dc8d0da94f9285488e551ac834717 /kernel | |
| parent | 19bb2ab92d37ae85fc6d4cb6ae1fea6a8de027b1 (diff) | |
[PATCH] oprofile - dcookies
This implements the persistent path-to-dcookies mapping, and adds a
system call for the user-space profiler to look up the profile data, so
it can tag profiles to specific binaries.
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index 5b7e84384cfa..3c2992ac68f2 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -20,6 +20,7 @@ #include <linux/device.h> #include <linux/times.h> #include <linux/security.h> +#include <linux/dcookies.h> #include <asm/uaccess.h> #include <asm/io.h> @@ -202,6 +203,7 @@ asmlinkage long sys_ni_syscall(void) cond_syscall(sys_nfsservctl) cond_syscall(sys_quotactl) cond_syscall(sys_acct) +cond_syscall(sys_lookup_dcookie) static int set_one_prio(struct task_struct *p, int niceval, int error) { |
