Date: Sat, 5 Nov 2022 13:48:42 +0000 From: tuexen@freebsd.org To: Cy Schubert <Cy.Schubert@cschubert.com> Cc: Gleb Smirnoff <glebius@freebsd.org>, Max Baroi <max@baroi.com>, Mike Karels <mike@karels.net>, current@freebsd.org Subject: Re: trpt(8) to be decomissioned Message-ID: <CC34DF34-929E-4852-ABBE-83C539CEB40E@freebsd.org> In-Reply-To: <20221105015421.DC4B037F@slippy.cwsent.com> References: <Y2SLfz19F6JoC6av@FreeBSD.org> <97286FA9-DD47-4EB2-BD7A-C2A8BC8B62B5@karels.net> <4e69d854-e872-4833-b836-f9caf5fe76f0@baroi.com> <Y2VAdN%2BDC6jy%2BL4d@FreeBSD.org> <20221105015421.DC4B037F@slippy.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 5. Nov 2022, at 01:54, Cy Schubert <Cy.Schubert@cschubert.com> = wrote: >=20 > In message <Y2VAdN+DC6jy+L4d@FreeBSD.org>, Gleb Smirnoff writes: >> Max, >>=20 >> the reason I want to retire it is not that it consumes 40 Kb >> in the repository. The reason is that knows kernel structures, >> and fails to compile after changes to them. So the tool that >> nobody uses requires special care when working on TCP. The >> kernel headers disclose the structures for trpt (with some >> protection with _WANT_TCPCB, though) and some software from >> ports (not calling names!) would start use them too. Now a >> kernel developer needs to care not only about trpt, but >> about this software, too. >=20 > I recall when Bryan Cantrill came to one of the local hotels here to=20= > announce Solaris 9, I remember him saying that Solaris truss was now = an app=20 > that called DTrace functions. If people feel the need for trpt-like=20 > utility, would it be an idea to write it using DTrace calls? Could it = be a=20 > GSoC project? It would be kind of neat for a co-op student or someone = to=20 > get their feet wet with systems programming. >=20 > I typically use DTrace when snooping around looking for that = proverbial=20 > needle in a haystack. And TCPDEBUG seems to be one of those things = that=20 > DTrace was designed to replace. >=20 > It would be a good project to have a still in school upcoming = developer to=20 > work on. That plan is to use BBLog as an replacement. Best regards Michael >=20 >=20 > --=20 > Cheers, > Cy Schubert <Cy.Schubert@cschubert.com> > FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org > NTP: <cy@nwtime.org> Web: https://nwtime.org >=20 > e^(i*pi)+1=3D0 >=20 >=20 >=20 >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CC34DF34-929E-4852-ABBE-83C539CEB40E>