Re: KPROBES: Instrumenting a function's call site

From: Avishay Traeger
Date: Wed Sep 26 2007 - 12:13:20 EST


On Wed, 2007-09-26 at 14:33 +0530, Ananth N Mavinakayanahalli wrote:
> What happens when the "call" is singlestepped is that the instruction
> pointer is moved to the call target. That explains the lower latency you
> are seeing. You'll need to do something along the lines I suggested in
> the earlier mail.

Can you please explain what you mean by this more clearly? I'm not a
kprobes expert yet. Specifically, using kprobes the way that I did,
what will the resulting code look like? Also, what do you mean by
"singlestepped"?

Thanks,
Avishay

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