Frank Ch. Eigler wrote: > > 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.
So, could you tell us how the task-finder works and is implemented? I think we'd better clarify what functions are required for uprobes and pmu, and I think we may be able to re-implement improved pmu on utrace. Thank you, -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhira...@redhat.com