[DTrace-devel] [PATCH v2 2/2] unittest/sched: remove dtv2 xfail
Kris Van Hees
kris.van.hees at oracle.com
Sat Aug 17 00:28:36 UTC 2024
Problem found: the OL9 UEK7 kernel I am working with (and possibly all) does
not allow an FBT probe on __perf_event_task_sched_in. The failure is silent,
causing the probe to simply never get enabled and no error reported, so the
probe does not fire and causes the test to fail.
In other words... the approach in 1/2 of this series does *not* seem to work
for OL7 kernels. That is a problem.
On Fri, Aug 16, 2024 at 03:33:00PM -0400, Kris Van Hees wrote:
> Running a full testsuite run (and then also individual test) I found this
> test to fail on my OL9 VM with 5.15.0-205.149.5.1.el9uek.x86_64 kernel
> while it works on my Debian VM with a 6.5.0 kernel.
>
> On Fri, Aug 02, 2024 at 05:37:11PM -0400, Kris Van Hees wrote:
> > On Fri, Jun 28, 2024 at 06:16:34PM +0100, Alan Maguire wrote:
> > > ...since tst.oncpu.d test passes now.
> > >
> > > Signed-off-by: Alan Maguire <alan.maguire at oracle.com>
> >
> > Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
> >
> > > ---
> > > test/unittest/sched/tst.oncpu.d | 3 +--
> > > 1 file changed, 1 insertion(+), 2 deletions(-)
> > >
> > > diff --git a/test/unittest/sched/tst.oncpu.d b/test/unittest/sched/tst.oncpu.d
> > > index d2c2ce57..7a33bab4 100644
> > > --- a/test/unittest/sched/tst.oncpu.d
> > > +++ b/test/unittest/sched/tst.oncpu.d
> > > @@ -1,11 +1,10 @@
> > > /*
> > > * Oracle Linux DTrace.
> > > - * Copyright (c) 2006, 2020, Oracle and/or its affiliates. All rights reserved.
> > > + * Copyright (c) 2006, 2024, Oracle and/or its affiliates. All rights reserved.
> > > * Licensed under the Universal Permissive License v 1.0 as shown at
> > > * http://oss.oracle.com/licenses/upl.
> > > */
> > >
> > > -/* @@xfail: dtv2 */
> > > /* @@timeout: 15 */
> > >
> > > #pragma D option switchrate=100hz
> > > --
> > > 2.43.5
> > >
More information about the DTrace-devel
mailing list