From: Kris Van Hees <kris.van.hees@oracle.com>
To: Kris Van Hees <kris.van.hees@oracle.com>
Cc: Eugene Loh <eugene.loh@oracle.com>,
dtrace@lists.linux.dev, dtrace-devel@oss.oracle.com
Subject: Re: [PATCH] ioctl: remove obsolete ioctl definitions and ddead code that used them
Date: Wed, 21 Aug 2024 18:02:31 -0400 [thread overview]
Message-ID: <ZsZj927XeRL8Kil7@oracle.com> (raw)
In-Reply-To: <ZsZgt/IDv078Skrc@oracle.com>
On Wed, Aug 21, 2024 at 05:48:39PM -0400, Kris Van Hees wrote:
> On Wed, Aug 21, 2024 at 04:58:44PM -0400, Eugene Loh wrote:
> > s/ddead/dead/ in subject line
> >
> > The patch seems to leave these orphaned references:
> >
> > include/dtrace/dif.h: * use DTRACEIOC_CONF to dynamically obtain the
> > number of registers provided by
>
> Will fix.
>
> > include/dtrace/dif_defines.h: * use DTRACEIOC_CONF to dynamically obtain
> > the number of registers provided by
>
> Will fix.
>
> > libdtrace/dt_options.c: if (dt_ioctl(dtp, DTRACEIOC_DOFGET, &hdr) == -1)
> > libdtrace/dt_options.c: if (dt_ioctl(dtp, DTRACEIOC_DOFGET, dof) == -1)
>
> Ah yes, that function can be removed also.
>
> >
> > If you're getting rid of test/utils/baddof.c, then this should also go:
> >
> > test/utils/.gitignore:baddof
> >
> > Also, then, what happens to "./runtest.sh --baddof"? Shouldn't runtest.sh
> > also be cleaned up? (Look for "baddof" and "BADDOF".)
>
> Ah, true. Fixing... (I wonder where the test was that used it.)
>
> > What happens to test/utils/badioctl.c? Disappear? If so, then also need to
> > clean up test/utils/Build and test/utils/.gitignore. And maybe also
> > ./runtest., although "./runtest.sh --baddof" cleanup might already take care
> > of that.
>
> I believe that one is still in use (meant to test the DOF helper support so
> it would be testing dtprobed).
Nevermind - not used either. Will include its removal in this patch also.
prev parent reply other threads:[~2024-08-21 22:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-21 17:27 [PATCH] ioctl: remove obsolete ioctl definitions and ddead code that used them Kris Van Hees
2024-08-21 20:58 ` Eugene Loh
2024-08-21 21:48 ` Kris Van Hees
2024-08-21 22:02 ` Kris Van Hees [this message]
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=ZsZj927XeRL8Kil7@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