svn commit: r337611 - head/cddl/usr.sbin/dwatch/libexec

Cy Schubert Cy.Schubert at cschubert.com
Sat Aug 11 16:30:55 UTC 2018


In message <ADEDC9DF-7A3E-40C3-A931-C87865363F39 at 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 at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

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





More information about the svn-src-all mailing list