~/talk

Curveballs: Learnings from Instrumenting Managed Runtime...

Talkat Cilium + eBPF Day Europe 2024 · on Tuesday, 2024-03-19· [observability]
links:none on file
links:none on file
slides:none on file

A production agent called Grafana BAA uses eBPF to attach uprobe/uretprobe pairs and store per-call state in BPF maps, and it successfully auto-instruments native Go services by using the goroutine pointer as the map key and by locating return instructions to avoid relocated small stacks. Java proves harder: Hot methods get JIT-compiled, recompiled and inlined, garbage collectors move heap objects, and the solution requires watching registerNMethod, using jcmd to enumerate compiled code, and accepting some runtimes (interpreters, trace compilers) as effectively uninstrumentable.

AI-written summary · about

  1. 0:00Managed runtime instrumentation
  2. 1:05Auto-instrumentation with eBPF and Grafana BaaS
  3. 6:58Instrumenting unmanaged runtimes
  4. 10:49Go runtime pitfalls
  5. 16:40Java runtime complexities
  6. 22:30Instrumenting compiled Java methods
  7. 25:24Limitations with interpreted runtimes
  8. 27:09Current support and future plans
  9. 28:09Summary
~/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.