Frederic Weisbecker <fweis...@gmail.com> writes: > [...] > This is much more tricky in the case of uprobes as I see two > ways to work with it: > - probing on an already running process > - probing on a process we are about to run > [...]
As you might expect, in systemtap we've had to figure out this area some time ago. We use another utrace consumer called "task finder" that registers interest in present / future processes, and gives us kernel-space callbacks when these come and go. You could merge it or something like it. - FChE