Slide 1

Slide 1 text

ۙ౻͏͓ͪ,FSOFM7.୳ݕୂPOMJOFQBSU! #$$Λ3VCZͰ
 ࢖͑ΔΑ͏ʹͨ͠࿩

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

F#1'

Slide 4

Slide 4 text

FYUFOEFE#FSLFMFZ1BDLFU'JMUFS w໊લͷ௨Γ΋ͱ΋ͱύέοτϑΟϧλϦϯάʹར༻ʢD#1'ʣ wΧʔωϧ಺෦ͰύέοτΛϑΟϧλͯ͠ޮ཰Α͘ w-JOVYͰύέοτҎ֎ͷϑΟϧλϦϯάʹ΋༻͍ΒΕΔΑ͏ʹͳͬͨ wTFDDPNQNPEFʢ-JOVYʙʣγεςϜίʔϧͷϑΟϧλ w-JOVY͔ΒΑΓ൚༻తʹ࢖͑ΔΑ͏ʹʹF#1' wݱࡏɺύέοτɺγεςϜίʔϧɺΧʔωϧτϨʔγϯάͳͲ

Slide 5

Slide 5 text

IUUQXXXCSFOEBOHSFHHDPNCMPHCQGQFSGPSNBODFUPPMTCPPLIUNM

Slide 6

Slide 6 text

IUUQXXXCSFOEBOHSFHHDPNCMPHCQGBOFXUZQFPGTPGUXBSFIUNM

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

5PPMT 3FMBUFETZTDBMMT 4JEF&⒎FDU gdb strace ptrace(2) େ perf perf_event_open(2) தʙখ bpftrace BCC bpf(2) perf_event_open(2) খ طଘͷπʔϧͱͷൺֱ ˞ൃද࣌ΑΓิ଍GUSBDF TZTUFNUBQͳͲ΋͋Γ·͢

Slide 9

Slide 9 text

#$$

Slide 10

Slide 10 text

#1'$PNQJMFS$PMMFDUJPO wF#1'ͰΧʔωϧτϨʔγϯά΍ωοτϫʔΫϑΟϧλʔͷͨΊͷ
 ϓϩάϥϜΛޮ཰Α͘࡞ΔͨΊͷπʔϧΩοτ wʴ#$$Λ࢖ͬͨ؆୯ͳτϨʔεπʔϧ܈ wCQG γεςϜίʔϧʹ͸جຊόΠτίʔυ͔͠౉ͤͳ͍ͨΊ wJPWJTPSϓϩδΣΫτͰ։ൃத

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

1ZUIPO -VB

Slide 13

Slide 13 text

3VCZͰ΋ ࢖͑ͳ͍͔ͳʁ

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

1ZUIPOͷίʔυ

Slide 17

Slide 17 text

3VCZͷίʔυ

Slide 18

Slide 18 text

#$$3VOOJOH%FNP 1ZUIPOc3VCZ

Slide 19

Slide 19 text

Ͳ͜·Ͱ࢖͑Δͷʁ

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

#1'2- w˞USBDFQPJOUͷΈ

Slide 22

Slide 22 text

ͪͳΈʹ

Slide 23

Slide 23 text

νϡʔτϦΞϧͷ3VCZ൛͕͋Γ·͢ w1ZUIPO൛ʹͳ͍೔ຊޠ൛΋

Slide 24

Slide 24 text

ࠓ͙͢ʂ gem install rbbcc # libbcc ΛͲ͏ʹ͔͜͏ʹ͔Πϯετʔϧͨ͠ޙͰ

Slide 25

Slide 25 text

ࢀߟ wʮF#1'ͷ঺հʯ wIUUQTRJJUBDPNTHNBUTVNPUPJUFNTECEEGB wʮ#FSLFMFZ1BDLFU'JMUFSʢ#1'ʣೖ໳ʯγϦʔζ wIUUQTXXXBUNBSLJUDPKQBJUTFSJFT

Slide 26

Slide 26 text

ँࣙ w3VCZΞιγΤʔγϣϯͷօ༷ w೥౓3VCZΞιγΤʔγϣϯ։ൃॿ੒ϓϩδΣΫτͰ͢ɻ w࡫ాߞҰ͞Μɺদຊ྄հ͞Μ͸͡ΊΞυόΠεΛͩͬͨ͘͞օ༷

Slide 27

Slide 27 text

13 wIUUQTSVCZBTTPDJBUJPOEPPSLFFQFSKQFWFOUT