~/talk

BEAM-style Execution Tracing for Perl

name:Ben Tyler
links:none on file
slides:none on file

Compares how BEAM execution tracing uses breakpoints, atomic injection and match specs to instrument only targeted functions with minimal impact versus a Perl prototype that overwrites the interpreter’s nextstate opcode to attach probes at runtime. Reconstructs how Erlang’s erl_trace and trace_pattern cooperate, builds a native Perl extension that calls back into Perl for data extraction, and measures about ~10% overhead when probes are checked per request; lacks BEAM’s match-specs and interactive control so operational delivery remains unresolved.

AI-written summary · about

  1. 0:00Intro
  2. 0:21Context
  3. 1:53Debugging
  4. 3:21Logs!
  5. 5:38Static & Dynamic Instrumentation
  6. 6:38BEAM tracing: capabilities
  7. 7:17BEAM: Call tracing in action
  8. 8:46erlang:trace/3
  9. 10:13erlang: trace_pattern/3
  10. 11:38Breakpoint injection
  11. 16:00Perl (guts)
  12. 16:50Perl: hooking nextstate
  13. 17:39Perl: probe_nextstate Call the original opcode
  14. 18:27Perl: other stuff
  15. 20:28Conclusion
  16. 21:54Links & Citations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.