[RFC] Removing in process agent (IPA)
Andrew Burgess
aburgess@redhat.com
Fri Jun 14 08:08:06 GMT 2024
"Terekhov, Mikhail" <Mikhail.Terekhov@dell.com> writes:
>> -----Original Message-----
>> From: Luis Machado <luis.machado@arm.com>
>>
>> Similarly, I also think it might be time to consider dropping the tracepoints
>> (mainly static and fast) machinery from gdbserver, as I suspect that is another
>> mechanism that is not being used very often.
>>
> We use tracepoints in our stub from the last millennia I guess (back from EMC days)
> and plan to do so in the future.
>
>> I recall trying to use tracepoints for practical purposes (back in the day), and it
>> wasn't up to the task, being too cumbersome to use, having bad failure modes
>
> Putting some UI/GUI on top of it makes it relatively simple to use.
>
>> and having other security implications when trying to debug stuff in
>> production platforms. The remote protocol side of it is OK, but again, I bet no
>> debugging stubs are using that anymore.
>
> We do use them but not in production though.
Just so I'm clear, you're talking about tracepoints here either in
gdbserver, or at least (if you have your own stub) in GDB and the remote
protocol, right?
This doesn't require gdb to continue shipping the IPA right? Or have I
failed to understand your position?
Thanks,
Andrew
More information about the Gdb
mailing list