This is the mail archive of the gdb@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: JIT debugging (Attach and speed)


On 03/23/2016 07:32 PM, Yichao Yu wrote:

>> So, as a quick hack, if you make inline_frame_sniffer bail out early
>> with 0, does it improve things?
> 

> The timing looks the same. =(

Bummer.  :-/

Having now looked at the gdb.base/jit.exp test, I see that
we can easily reproduce this with:

gdb ---args ./testsuite/outputs/gdb.base/jit/jit-main ./testsuite/outputs/gdb.base/jit/jit-solib.so 2000

(It'd be nice to turn this into a check-perf test...)

> What do you mean by "loader"? since you mentioned call JIT_REGISTER I
> assume you mean JIT compiler?

Yes, sorry.  I meant whatever code ends up "sending" a JIT_REGISTER
event to gdb.

Thanks,
Pedro Alves


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