This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: user mode backtrace
- From: David Boreham <david_list at boreham dot org>
- To: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>
- Cc: SystemTap <systemtap at sources dot redhat dot com>
- Date: Thu, 19 Oct 2006 17:24:54 -0600
- Subject: Re: user mode backtrace
- References: <C56DB814FAA30B418C75310AC4BB279DCC3D8B@scsmsx413.amr.corp.intel.com>
- Reply-to: david_list at boreham dot org
pid = fork_ptraceme_exec("myapp"); // start the app paused
stappid = fork_exec("stap myscript.stp -x " + pid); // start systemtap
ptrace(DETACH, pid, ...); // let the app run
Actually I don't think this will help me because it looks like
it assumes a specific target process. That's the specific problem that
I have : I don't know which processes are going to be interesting
in advance.