Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 180534 Details for
Bug 257207
sys-apps/sreadahead removal (was sys-apps/sreadahead-1.0 version bump)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sreadahead-manual.patch
sreadahead-manual.patch (text/plain), 1.82 KB, created by
Auke Booij (tulcod)
on 2009-02-01 13:06:04 UTC
(
hide
)
Description:
sreadahead-manual.patch
Filename:
MIME Type:
Creator:
Auke Booij (tulcod)
Created:
2009-02-01 13:06:04 UTC
Size:
1.82 KB
patch
obsolete
>diff --git a/fs/open.c b/fs/open.c >index ef64264..f22ce03 100644 >--- a/fs/open.c >+++ b/fs/open.c >@@ -30,6 +30,8 @@ > #include <linux/audit.h> > #include <linux/falloc.h> > >+#include <trace/fs.h> >+ > int vfs_statfs(struct dentry *dentry, struct kstatfs *buf) > { > int retval = -ENODEV; >@@ -1039,6 +1041,7 @@ long do_sys_open(int dfd, const char __user *filename, int flags, int mode) > } else { > fsnotify_open(f->f_path.dentry); > fd_install(fd, f); >+ trace_do_sys_open(f, flags, mode, fd); > } > } > putname(tmp); >diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig >index 33dbefd..30ba7cf 100644 >--- a/kernel/trace/Kconfig >+++ b/kernel/trace/Kconfig >@@ -119,6 +119,15 @@ config CONTEXT_SWITCH_TRACER > This tracer gets called from the context switch and records > all switching of tasks. > >+config OPEN_TRACER >+ bool "Trace open() calls" >+ depends on DEBUG_KERNEL >+ select TRACING >+ select MARKERS >+ help >+ This tracer records open() syscalls. These calls are made when >+ files are accessed on disk. >+ > config BOOT_TRACER > bool "Trace boot initcalls" > depends on DEBUG_KERNEL >diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile >index c8228b1..254ac10 100644 >--- a/kernel/trace/Makefile >+++ b/kernel/trace/Makefile >@@ -15,6 +15,7 @@ obj-$(CONFIG_RING_BUFFER) += ring_buffer.o > > obj-$(CONFIG_TRACING) += trace.o > obj-$(CONFIG_CONTEXT_SWITCH_TRACER) += trace_sched_switch.o >+obj-$(CONFIG_OPEN_TRACER) += trace_open.o > obj-$(CONFIG_SYSPROF_TRACER) += trace_sysprof.o > obj-$(CONFIG_FUNCTION_TRACER) += trace_functions.o > obj-$(CONFIG_IRQSOFF_TRACER) += trace_irqsoff.o >diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h >index 8465ad0..f2618fe 100644 >--- a/kernel/trace/trace.h >+++ b/kernel/trace/trace.h >@@ -22,6 +22,7 @@ enum trace_type { > TRACE_MMIO_RW, > TRACE_MMIO_MAP, > TRACE_BOOT, >+ TRACE_OPEN, > > __TRACE_LAST_TYPE > };
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257207
:
180532
| 180534 |
180535
|
186608