This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH V2 3/9] New commands `enable probe' and `disable probe'.


On Fri, Oct 10, 2014 at 11:39 PM, Jose E. Marchesi
<jose.marchesi@oracle.com> wrote:
>
> Hi Doug.
>
>     Would it be useful to have "info probes" show
>     the enable/disable state of each probe?
>     Or at least know which ones have been disabled.
>
> Right, `info probes' actually tells you the "Enabled" status of the
> probes, provided there is at least one dtrace probe in the executable.
> For example:
>
> (gdb) info probes
> Provider Name             Where              Semaphore Enabled Object
> demo     am-main          0x0000000000400c96           n/a     /home/jemarch/oracle/usdt/demo
> demo     another          0x0000000000400c8b n/a       always  /home/jemarch/oracle/usdt/demo
> demo     progress-counter 0x0000000000400c81 n/a       no      /home/jemarch/oracle/usdt/demo

Thanks.  I couldn't find it, where should I look?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]