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

From: Frank Ch. Eigler
Date: Tue Jan 12 2010 - 13:54:49 EST



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.

- FChE
--
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/