This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: djprobes status


On Fri, 2006-09-15 at 21:04 +0200, Ingo Molnar wrote:
> 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.

a 'cli' has to be added too - so 3 bytes longer.

	Ingo
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]