Filter out dtrace(1) probes

Domagoj Stolfa domagoj.stolfa at gmail.com
Thu Aug 16 23:01:47 UTC 2018


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 at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
> To unsubscribe, send any mail to "freebsd-dtrace-unsubscribe at freebsd.org"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-dtrace/attachments/20180817/3d8c9362/attachment.sig>


More information about the freebsd-dtrace mailing list