BCC(BPF Compiler Collection) for Ruby

BCC(BPF Compiler Collection) for Ruby

BCCをRubyから使えるようにした話

@ Kernel/VM探検隊online #1
https://connpass.com/event/175388/

demo: https://www.youtube.com/watch?v=xNUN9vdgASI

2cf373725ded741824c50fd571eda6e1?s=128

KONDO Uchio

June 06, 2020
Tweet

Transcript

  1. 2.

    GMOϖύϘ ΤϯδχΞ ۙ౻ Ӊஐ࿕ / @udzura Uchio Kondo ٕज़෦ ٕज़ج൫νʔϜ

    * Ruby, Containers, eBPF Novice * Author of Haconiwa
 (a container runtime built upon mruby) * Duolingo 363 Days Streaker
 * Animal Crossing Blue Rose Grower
  2. 3.
  3. 7.
  4. 8.

    5PPMT 3FMBUFETZTDBMMT 4JEF&⒎FDU gdb strace ptrace(2) େ perf perf_event_open(2) தʙখ

    bpftrace BCC bpf(2) perf_event_open(2) খ طଘͷπʔϧͱͷൺֱ ˞ൃද࣌ΑΓิ଍GUSBDF TZTUFNUBQͳͲ΋͋Γ·͢
  5. 9.
  6. 11.
  7. 14.
  8. 15.
  9. 20.
  10. 22.