Re: [RFC][patch] Allow user to disable tracepoint support in gdbserver via command line

Paul Pluzhnikov
2011-07-19T20:27:53Z

On Tue, Jul 19, 2011 at 11:28 AM, Pedro Alves <pedro@codesourcery.com> wrote:

> Most of that querying is actually unnecessary.  All the symbols the
> tracepoints module is looking up are required for libinproctrace.so to be
> active.  So, there's no need to look them all up if any fails to be found, since
> if any fails, we know we don't have libinproctrace.so loaded yet.  In practice,
> we end up doing one (tracepoint related) query per DSO only.  Can you give the
> patch below a try?  We have had this in our tree for months.  Hopefuly it'll
> still apply cleanly.

It does apply cleanly, and does reduce the number of packets from
28*10 to just 10.

Could you commit it?

Thanks,
--
Paul Pluzhnikov