djprobes status

Ingo Molnar mingo@redhat.com
Fri Sep 15 19:12:00 GMT 2006


On Fri, 2006-09-15 at 20:59 +0200, Ingo Molnar wrote:
> a third possibility would be to generate not a jump straight into the
> trampoline, but a jump to a kprobes-controlled function:
> 
a fourth possibility would be to insert a pushf/popf sequence:


	pushf
	jmp $tramp_addr
	popf

that makes the inserted code 2 bytes longer. A pushf/popf pair is 3-7
cycles on a modern CPU.

	Ingo



More information about the Systemtap mailing list