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 0/3] Implement support for SystemTap probes on userspace


> Date: Sat, 10 Mar 2012 09:54:33 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: Sergio Durigan Junior <sergiodj@redhat.com>, gdb-patches@sourceware.org,
>         tromey@redhat.com
> 
> > May I suggest that the new command be called "info stap-probes"
> > instead?  IMO, "probe" is much too general, and may conflict in the
> > future with some other feature that uses similar facilities or
> > terminology.
> 
> There can be "info probes stap" and "info probes foo" in the future with "info
> probes" calling all the existing probe backends.

Works for me.  Or maybe "info sdt-probes" that would cover all of the
varieties of this kind of probes, as in my other suggestion.

> > >     (gdb) b -probe m4
> > >     Breakpoint 1 at 0x400505
> > 
> > Again, either "break -stap-probe" or even just "break -stap" would be
> > better, IMO.
> 
> Again -probe may try to find that probe in all the probe backends, later
> extensible by -probe-stap and -probe-foo?

Could be.  Or "break -std-probe", which is general enough to cover
several varieties, and yet less general than just "-probe".

Thanks.


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