Date: Fri, 17 Aug 2018 01:01:43 +0200 From: Domagoj Stolfa <domagoj.stolfa@gmail.com> To: Farhan Khan <khanzf@gmail.com> Cc: freebsd-dtrace@freebsd.org Subject: Re: Filter out dtrace(1) probes Message-ID: <54B93C32-7672-4A54-9272-F3F0CF5B38BD@gmail.com> In-Reply-To: <CAFd4kYDZLnNtkWiQ56dzzn11Lh7FKAK-xCrs91fNQGPGeYbC=A@mail.gmail.com> References: <CAFd4kYDZLnNtkWiQ56dzzn11Lh7FKAK-xCrs91fNQGPGeYbC=A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi Farhan:
I'm not sure what the question is, but by what I understood it sounds like a predicate with probefunc should do?
i.e.:
prov:mod:func:name
/probefunc != "something_i_dont_care_about"/
{
something_here
}
—
Domagoj
> On 17 Aug 2018, at 00:49, Farhan Khan <khanzf@gmail.com> wrote:
>
> Hi all,
>
> Is it possible to filter out probes?
> For example, if I did:
>
> dtrace -n 'fbt:kernel::entry { something_here }'
>
> but I specifically do not want fbt:entry:SOMETHING:entry, is that
> possible? I know that I can run grep -v, but it still shows the output
> from "something_here".
>
> Thank you,
> --
> Farhan Khan
> PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE
> _______________________________________________
> freebsd-dtrace@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
> To unsubscribe, send any mail to "freebsd-dtrace-unsubscribe@freebsd.org"
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE37fRcHC0Iwiz+ZVEg+gksMBgNd0FAlt2AlcACgkQg+gksMBg
Nd37QQ//YKdSeZDGkzgaBj71/gWCPV1TrvY7nphCCcZk48Z0KLcXJhclOx0vLJWD
13ECVoe1ef4nRw3kkLgw90CZlVdG22uX+oGz06muDMrXk+gTFJ6sJTHf1Ra1YHYI
eEJoYdIYQaAuERMKCaT3pSASeioEDONINHqUQZ+My7EVh8aNdhuS7V5z8TOmNs1r
FchzoDJ2M6o7dghSjOMhzDjosi3QSAw8czF19+qPZ+QN4kRJiBxREE4C4/8jfjo8
3zKCR//IRsPUo2yRHmCiMbaQmlCMf6y7FCu0H/hBNc5VNRo+264xnkVKHDmmIgTp
kqRswqOpRRgE/HgVoU4p9ACCx2Kg/96+lcx1jcHcO5XySE6KPgRR8kmuvAM/RaE8
D5OzttI354Ku7n4i8/RdcJiOsrhQHvhT7u0BZpYFo48qCPhnmCviX5a4QyVdUS0a
z1HDa1xWOrB4ptTrPbOYHyEjuG0rRp8OFAGfiS9YGipJ/uCM1tBqUKg0heXNCS2J
eTKO2ITgRUjTM3SYNeMwm+KpwAYCZ3yjF+VS49yvOOVCvMWT7CYknyEFdqKeO6Du
484C2d/gOb1fDldgJQ1ycc7MTooBbgzvbI56isUI9mSc3NUFg8pCtppg1VSjUEM7
w4xk7Fy2gAwzwKyxc1fiVLS4VzfzBBkMcMSy6sPaNgl4v7MpLE0=
=PqeQ
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54B93C32-7672-4A54-9272-F3F0CF5B38BD>
