~/talk

Introduction to profiling python performance with USDT

Talkat PyCon AU 2017 · 2017-08-03..08-08· [linux-and-operating-systems]
links:none on file
slides:none on file

Adds Python 3.6 USDT probes into CPython and demonstrates capturing garbage-collection start/stop and function entry/exit, using BCC/eBPF and systemtap (DTrace mentioned). Example instrumentation counts GC events (demo shows count = 3) by attaching to the interpreter and reading a shared BPF table; it works but requires root/kernel support, is Linux-only, can be expensive to run continuously, and may be blocked by kernel-module or PCI-compliance restrictions.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Debugging fundamentals
  3. 5:43Understanding USDT probes
  4. 8:55Instrumentation in Python
  5. 11:55Systemtap and tooling
  6. 14:20eBPF and BCC framework
  7. 18:10Legacy of DTrace
  8. 19:19Practical implementation
  9. 24:01Q&A and conclusion
~/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.