This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][patch] Allow user to disable tracepoint support in gdbserver via command line
On Tuesday 19 July 2011 21:27:04, Paul Pluzhnikov wrote:
> 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?
Done.
--
Pedro Alves