Frank Ch. Eigler wrote:
Hi -
On Wed, Sep 20, 2006 at 01:21:52PM -0400, Karim Yaghmour wrote:
[...] IOW, we should be able to do what Martin suggests fairly
easily (if we agree on a 5-byte "null" jump at the entry of
functions of interest). Right? [...]
My interpretation of Martin's Monday proposal is that, if implemented,
we wouldn't need any of this nop/int3 stuff. If function being
instrumented were recompiled on-the-fly, then it could sport plain &
direct C-level calls to the instrumentation handlers.
It's looking to me like it might still need djprobes to implement, in
order to get the atomic and safe switchover from the original function
into the traced one. All rather sad, but seems to be true from all the
CPU errata, etc. If anyone can see a way round that, I'd love to hear
it.
What it would give you above and beyond djprobes is an easier and more
flexible way to actually do the instrumentation itself.
M.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]