[DTrace-devel] [PATCH] test: Account for readahead tracepoints

Kris Van Hees kris.van.hees at oracle.com
Tue Jan 27 15:11:00 UTC 2026


On Tue, Jan 27, 2026 at 12:55:32PM +0000, Nick Alcock wrote:
> On 22 Jan 2026, eugene loh uttered the following:
> 
> > From: Eugene Loh <eugene.loh at oracle.com>
> >
> > Some tests check for empty probe descriptions.  In some cases, the tests
> > relied on the absence of any read* modules.
> 
> Argh! Sorry, this was my bug way back when. I don't know why I thought
> this would work in the long term...
> 
> > However, some kernels can have "readahead" tracepoints.  Tests expecting
> > no read* modules will therefore fail.
> >
> > Change these tests to ask for readfoo* modules to ensure that the probe
> > descriptions will indeed find no probes.

But this commit message surely needs fixing because "read*" surely refers to
the tracepoint names and not to the module names.

> >
> > Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
> 
> Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
> 
> -- 
> NULL && (void)



More information about the DTrace-devel mailing list