>
>
> > On 17 Aug 2018, at 00:49, Farhan Khan <[email protected]> wrote:
> >
> > Hi all,
> >
> > Is it possible to filter out probes?
> > For example, if I did:
> >
> > dtrace -n 'fbt:kernel::entry { something_here }'
>

Sure,  try extending this:

dtrace -n 'fbt:kernel:read*:entry /probefunc != "read_cpu_time"  &&
probefunc != "readdep"/ {@[probefunc]=count();}'

Altough fbt::kernel::entry is going to mach a _lot_ of probes. Unless you
are looking for a simple kernel function use count  this is probably going
to overload the data collection plumbing. You should probably narrow your
probe list based on what you are hunting.  Also fbt:kernel::entry is only
going to get core freebsd calls, excluding all loadable modules  (zfs.ko
..) . if you really want all kernel functions,  use fbt:::entry, as blank
entries are wildcards.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"

Reply via email to