Re: Filter out dtrace(1) probes

2018-08-17 Thread Ash Gokhale
> > > > On 17 Aug 2018, at 00:49, Farhan Khan 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" &&

Re: Filter out dtrace(1) probes

2018-08-16 Thread Domagoj Stolfa
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 wrote: > > Hi all, > >

Filter out dtrace(1) probes

2018-08-16 Thread Farhan Khan
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, --