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: [RFC][patch] Allow user to disable tracepoint support in gdbserver via command line


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


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