Re: [iovisor-dev] [LPC] User Space Dynamic Tracing

2016-12-19 Thread Alex Reece via iovisor-dev
> starting next year we're planning to invest into building > a prototype where we can inject the code into remote process, > fixup usdt-s in the remote process to point to injected code > and let this injected code interact with master process via > shared memory. > The goal is to build an

Re: [iovisor-dev] [LPC] User Space Dynamic Tracing

2016-12-18 Thread Suchakra via iovisor-dev
Hi Joe, >> What I did was fork a project called linux-inject here: >> >> https://github.com/joe-lawrence/linux-inject >> >> This project demonstrates the use of ptrace to attach and then force the >> target to call __libc_dlopen_mode (this lives in libc unlike the dlopen >> wrapper in libdl)

Re: [iovisor-dev] [LPC] User Space Dynamic Tracing

2016-12-18 Thread Alexei Starovoitov via iovisor-dev
On Mon, Nov 14, 2016 at 7:34 AM, Joe Lawrence wrote: > On 11/11/2016 09:41 PM, Alexei Starovoitov wrote: >> On Thu, Nov 10, 2016 at 7:36 AM, Joe Lawrence >> wrote: >>> On 11/09/2016 11:11 PM, Alexei Starovoitov wrote: On Wed, Nov 9, 2016 at