Upgrade to Pro — share decks privately, control downloads, hide ads and more …

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

KONDO Uchio

June 06, 2020
Tweet

More Decks by KONDO Uchio

Other Decks in Technology

Transcript

  1. 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. 5PPMT 3FMBUFETZTDBMMT 4JEF&⒎FDU gdb strace ptrace(2) େ perf perf_event_open(2) தʙখ

    bpftrace BCC bpf(2) perf_event_open(2) খ طଘͷπʔϧͱͷൺֱ ˞ൃද࣌ΑΓิ଍GUSBDF TZTUFNUBQͳͲ΋͋Γ·͢