[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Read-tuning



On Mon, Dec 10, 2001 at 07:44:38PM +0100, Klaus Knopper wrote:
> On Mon, Dec 10, 2001 at 07:38:47PM +0100, Max Kellermann wrote:
> > Another idea would be to patch the kernel (or glibc), and insert printk()-statements where the kernel opens a file... I think it's in ./fs/open.c in the Linux kernel.
> 
> Well... Somehow I hoped for a standard procedure or boot option, like
> linux trace=open log=/dev/tty10
> or alike. ;-)
> 
> strace is surely nice, but how do I strace init

strace -p initpid -e open

doesn't work for me, but maybe work when init is called from linuxrc.

oliver

> 
> 		-Klaus
> --
> Klaus Knopper                  LinuxTag 2002 - Europes largest Linux Expo
> Technical Solutions                                 Where .com meets .org
> knopper@linuxtag.de                               http://www.linuxtag.de/
> Phone +49-(0)180-5-546898                         Fax +49-(0)180-5-546893

-- 
 Oliver Zendel                                           LinuxTag-Team
 email: zendel@linuxtag.de                      phone: +49-631-3109371
 http://www.linuxtag.de/                          fax: +49-631-3109372

Attachment: pgpYbCAXVJbB1.pgp
Description: PGP signature


Reply to: