public inbox for dtrace@lists.linux.dev
 help / color / mirror / Atom feed
From: Kris Van Hees <kris.van.hees@oracle.com>
To: Eugene Loh <eugene.loh@oracle.com>
Cc: dtrace@lists.linux.dev, dtrace-devel@oss.oracle.com
Subject: Re: [DTrace-devel] [PATCH v2] test: stack_fbt
Date: Wed, 20 Nov 2024 15:53:23 -0500	[thread overview]
Message-ID: <Zz5MQ//csgBrKzmg@oracle.com> (raw)
In-Reply-To: <169ad5fa-885b-8127-d1a6-b986e1d208b0@oracle.com>

On Wed, Nov 20, 2024 at 03:39:34PM -0500, Eugene Loh wrote:
> On 11/20/24 14:38, Kris Van Hees wrote:
> 
> > On Wed, Nov 20, 2024 at 02:22:56PM -0500, Kris Van Hees wrote:
> > > On Thu, Nov 07, 2024 at 06:28:41PM -0500, eugene.loh--- via DTrace-devel wrote:
> > > > From: Eugene Loh <eugene.loh@oracle.com>
> > > > 
> > > > Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
> > > Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
> > > 
> > > ... with small changes as shown below.
> > Also...  the full stack output comparison is riddled with issues because the
> > low level entry point handling for syscalls is an atrea that has changed a
> > lot and still changes.  E.g. this test fails now on a 6.8.8 upstream kernel
> > because of the following difference:
> > 
> > <               vmlinux`entry_SYSCALL_64+{ptr}
> > ---
> > >                vmlinux`entry_SYSCALL_64_after_hwframe+{ptr}
> > Maybe it would be better to not bother trying to test the full stack trace
> > because it is bound to keep changing and we'll keep needing to update the
> > test to deal with various kernel versions.  After all, we do need to be able
> > to pass tests with upstream kernels also.
> 
> Maybe.  Or we just bite the bullet and add more cases as they become
> needed.  After all, there is a framework here for being able to add new
> cases in the future.  There is the usual tension between simpler tests and
> more rigorous testing.

Yes, my challenge right now is that I really do not want to try this test on
a large variety of kernel versions to ensure that we cover the "most likely
cases" of kernels people might be wanting to use (and test) DTrace on.  That
is a recipe for fa massive headache.

  reply	other threads:[~2024-11-20 20:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-07 23:28 [PATCH v2] test: stack_fbt eugene.loh
2024-11-20 19:22 ` [DTrace-devel] " Kris Van Hees
2024-11-20 19:38   ` Kris Van Hees
2024-11-20 20:39     ` Eugene Loh
2024-11-20 20:53       ` Kris Van Hees [this message]
2024-11-20 20:28   ` Eugene Loh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zz5MQ//csgBrKzmg@oracle.com \
    --to=kris.van.hees@oracle.com \
    --cc=dtrace-devel@oss.oracle.com \
    --cc=dtrace@lists.linux.dev \
    --cc=eugene.loh@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox