RFC strace via gdbserver

Josh Stone jistone at redhat.com
Mon Apr 18 03:40:23 UTC 2016


On 04/17/2016 10:25 PM, Dmitry V. Levin wrote:
>> Dmitry pointed out -P and -y path-based options before, which I haven't
>> found a solution for.  Technically /proc/pid/fd access will work just
>> fine if the gdbserver is local anyway, but that's cheating, and can't be
>> assumed in general.  It may just be that some strace features won't be
>> able to mix with this -G gdbserver mode.
> 
> Fair enough.

I said that, and then I discovered the command "vFile:readlink:/path",
and I tested that this works just find for procfs fds.  So those
particular features should actually be possible, I hope.

I still don't dare promise full feature parity to regular strace, but it
might get pretty close...


Josh




More information about the Strace-devel mailing list