[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090203133251.GD29046@elte.hu>
Date: Tue, 3 Feb 2009 14:32:51 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Pavel Machek <pavel@...e.cz>
Cc: "Kok, Auke" <auke-jan.h.kok@...el.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
powertop ml <power@...host.org>,
Arjan van de Ven <arjan@...ux.intel.com>,
srostedt@...hat.com
Subject: Re: [PATCH] tracer for sys_open() - sreadahead
* Pavel Machek <pavel@...e.cz> wrote:
> On Tue 2009-01-27 12:08:04, Kok, Auke wrote:
> >
> > This tracer monitors regular file open() syscalls. This is a fast
> > and low-overhead alternative to strace, and does not allow or
> > require to be attached to every process.
> >
> > The tracer only logs succesfull calls, as those are the only ones we
> > are currently interested in, and we can determine the absolute path
> > of these files as we log.
>
> Maybe fanotify() should be used instead?
>
> Or maybe just plain strace? One slow boot should not really hurt...
ptrace is out of question for good tracing because it's not a transparent
probe. (ptrace monopolizes the traced task - if we use that then we break
regular strace usage.)
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists