Re: [PACTH v1] trace: Add trace events for open(), exec() and uselib()
From: Al Viro
Date: Mon Aug 01 2016 - 14:14:28 EST
On Mon, Aug 01, 2016 at 01:44:53PM -0400, Steven Rostedt wrote:
> On Mon, 1 Aug 2016 13:25:40 -0400
> robert.foss@xxxxxxxxxxxxx wrote:
>
> > From: Scott James Remnant <scott@xxxxxxxxxx>
> >
> > 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.
> >
>
> Good luck. AFAIK, Viro refuses to have tracepoints in the vfs subsystem.
Damn right. Somebody wants to use those as private debugging patches -
sure, that's what the mechanism is good for. Just keep them in your
test builds, where *you* will be responsible for keeping them working, etc.