~/talk

Debugging with eBPF on Arm Platforms

name:Leo Yan
links:none on file
slides:none on file

Shows eBPF deployed on Arm to do live kernel debugging and lightweight profiling, with concrete builds: a memory‑leak detector that tracks malloc/free via maps of pointer → stack and a scheduler profiler correlating modules by tracing calls. Uses kprobe/tracepoint attach and user tools (BCC, tracepoint.py, perf) with clang/LLVM compilation to emit eBPF bytecode; notes verifier limits, cross‑compile pain, and that 1 GB images are too small on embedded boards. The examples run and expose actionable leak and latency data.

AI-written summary · about

  1. 0:00Introduction
  2. 2:22Extending the Berkeley Packet Filter
  3. 6:17Using eBPF for debugging - cont.
  4. 8:30Debugging with eBPF versus tracing
  5. 9:40libbpf: helper functions for eBPF
  6. 10:36Coding for eBPF in assembler
  7. 13:14Kernel samples
  8. 14:28Sample code: trace kmem_cache alloc_node
  9. 16:11Ply: light dynamic tracer for eBPF
  10. 17:36System call (sys_exit) failure statistics in ply
  11. 17:57Build ply
  12. 18:25BPF Compiler Collection (BCC)
  13. 20:19BCC example code
  14. 21:23BCC and embedded systems
  15. 23:06System Tap - eBPF backend
  16. 24:07System Tap - Revenge of the verifier
  17. 25:35BPFtrace - high level tracing language for eBPF
  18. 26:38BPFtrace with data structure support
  19. 27:28Build BPFtrace
  20. 28:02perftrace with eBPF event
  21. 29:09perf with eBPF program profiling
  22. 30:28Build perf
  23. 31:06The story - Hunting leaks
  24. 32:24The story - Debug kernel functions at the runtime
  25. 34:10Debug kernel functions - cont.
  26. 34:41Statistics based on function arguments
  27. 35:39Summary (and thank you)
~/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.