Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2018 09:30:44 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        "Kristof Provost" <kp@FreeBSD.org>
Cc:        "Devin Teske" <dteske@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r337611 - head/cddl/usr.sbin/dwatch/libexec
Message-ID:  <201808111630.w7BGUigO095292@slippy.cwsent.com>
In-Reply-To: Message from "Kristof Provost" <kp@FreeBSD.org> of "Sat, 11 Aug 2018 15:06:00 %2B0200." <ADEDC9DF-7A3E-40C3-A931-C87865363F39@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <ADEDC9DF-7A3E-40C3-A931-C87865363F39@FreeBSD.org>, "Kristof 
Provost
" writes:
> 
> --=_MailMate_CF172F01-6AF0-4E9D-A175-454A09953300_=
> Content-Type: text/plain; format=flowed
>
> Hi Devin,
>
> On 11 Aug 2018, at 8:32, Devin Teske wrote:
> > Author: dteske
> > Date: Sat Aug 11 06:32:31 2018
> > New Revision: 337611
> > URL: https://svnweb.freebsd.org/changeset/base/337611
> >
> > Log:
> >   dwatch(1): Add systop profile
> >
> >   Provides a top-like view of syscall consumers.
> >
> >   MFC after:	3 days
> >   X-MFC-to:	stable/11
> >   Sponsored by:	Smule, Inc.
> >
> > Added:
> >   head/cddl/usr.sbin/dwatch/libexec/systop   (contents, props changed)
> > Modified:
> >   head/cddl/usr.sbin/dwatch/libexec/Makefile
> >
> > Modified: head/cddl/usr.sbin/dwatch/libexec/Makefile
> > ===========================================================================
> ===
> > --- head/cddl/usr.sbin/dwatch/libexec/Makefile	Sat Aug 11 06:13:11 
> > 2018	(r337610)
> > +++ head/cddl/usr.sbin/dwatch/libexec/Makefile	Sat Aug 11 06:32:31 
> > 2018	(r337611)
> > @@ -62,6 +62,7 @@ LINKS+=	${LIBEXECDIR}/dwatch/sendrecv 
> > ${LIBEXECDIR}/dw
> >  LINKS+=	${LIBEXECDIR}/dwatch/sendrecv ${LIBEXECDIR}/dwatch/send
> >  LINKS+=	${LIBEXECDIR}/dwatch/sendrecv ${LIBEXECDIR}/dwatch/sendmsg
> >  LINKS+=	${LIBEXECDIR}/dwatch/sendrecv ${LIBEXECDIR}/dwatch/sendto
> > +LINKS+=	${LIBEXECDIR}/dwatch/systop ${LIBEXECDIR}/dwatch/systop
>
> This breaks install world:
> install: link 
> /usr/obj/usr/src/amd64.amd64/release/dist/base/usr/libexec/dwatch/systop 
> -> 
> /usr/obj/usr/src/amd64.amd64/release/dist/base/usr/libexec/dwatch/systop: 
> No such file or directory
>
> Regards,
> Kristof

Hi Kristof,

This should get you going.

Index: /opt/src/svn-current/cddl/usr.sbin/dwatch/libexec/Makefile
===================================================================
--- /opt/src/svn-current/cddl/usr.sbin/dwatch/libexec/Makefile	
(revision 337628)
+++ /opt/src/svn-current/cddl/usr.sbin/dwatch/libexec/Makefile	(working 
copy)
@@ -12,6 +12,7 @@
 		rw \
 		sched \
 		sendrecv \
+		systop \
 		tcp \
 		udp \
 		udplite \
@@ -62,7 +63,6 @@
 LINKS+=	${LIBEXECDIR}/dwatch/sendrecv ${LIBEXECDIR}/dwatch/send
 LINKS+=	${LIBEXECDIR}/dwatch/sendrecv ${LIBEXECDIR}/dwatch/sendmsg
 LINKS+=	${LIBEXECDIR}/dwatch/sendrecv ${LIBEXECDIR}/dwatch/sendto
-LINKS+=	${LIBEXECDIR}/dwatch/systop ${LIBEXECDIR}/dwatch/systop
 LINKS+=	${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept
 LINKS+=	${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept-establ
ished
 LINKS+=	${LIBEXECDIR}/dwatch/tcp ${LIBEXECDIR}/dwatch/tcp-accept-refuse
d



-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808111630.w7BGUigO095292>