CPL - Chalmers Publication Library
| Utbildning | Forskning | Styrkeområden | Om Chalmers | In English In English Ej inloggad.

Instruction punning: Lightweight instrumentation for x86-64

B. Chamith ; Joel Svensson (Institutionen för data- och informationsteknik, Programvaruteknik (Chalmers)) ; L. Dalessandro ; R.R. Newton
Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) Vol. Part F128414 (2017), p. 320-332.
[Konferensbidrag, refereegranskat]

Existing techniques for injecting probes into running code are limited: they either fail to support probing arbitrary locations, or to support scalable, rapid toggling of probes. We introduce a new technique on x86-64, called instruction punning, which allows scalable probes at any instruction. The key idea is that when we inject a jump instruction, the relative address of the jump serves simultaneously as data and as an instruction sequence. We show that this approach achieves probe invocation overheads of only a few dozen cycles, as well as low probe activation/deactivation costs, even when all threads in the system are both invoking probes and toggling them. Unlike competing systems, the latent overhead when probes are deactivated is exactly zero. Copyright is held by the owner/author(s).

Nyckelord: Application profiling, Dynamic instrumentation



Denna post skapades 2017-08-04.
CPL Pubid: 250915

 

Läs direkt!


Länk till annan sajt (kan kräva inloggning)


Institutioner (Chalmers)

Institutionen för data- och informationsteknik, Programvaruteknik (Chalmers)

Ämnesområden

Programvaruteknik

Chalmers infrastruktur