Static tracepoints support

Michael Snyder msnyder@vmware.com
Sun Jun 27 22:47:00 GMT 2010


Pedro Alves wrote:

> To staple a GDB tracepoint on one of those markers, one uses the new
> "strace" command (yes, it can be confused with the strace utility; it
> was the natural obvious choice after "trace" and "ftrace" for fast
> tracepoints; a good alternative spelling suggestion is welcome).  

One thing you could do, as I did for the 'gcore' command, is to
make the official command eg. "static-trace", and then make strace
be an abbreviation for it.  Just a small thing to draw attention
to the distinction between this and the other strace.

Similarly, "fast-trace" could be that official command, and ftrace
an abbreviation.




More information about the Gdb-patches mailing list