Re: [RFC] [PATCH 7/7] Ftrace plugin for Uprobes

From: Masami Hiramatsu
Date: Tue Jan 12 2010 - 17:01:16 EST


Frank Ch. Eigler wrote:
>
> Frederic Weisbecker <fweisbec@xxxxxxxxx> 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: mhiramat@xxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/