Skip to content

GIL tracer - monitor and analyze GIL usage with eBPF

License

Notifications You must be signed in to change notification settings

gukoff/gil_tracer

Repository files navigation

GIL tracer

🚧 Work in progress 🚧 [task board]

GIL tracer for CPython. Built on eBPF, works only on Linux.

GUI

Install dependencies

To trace with BCC

See the official bcc instructions.

To trace with bpftrace

See the official bpftrace instructions.

A particularly convenient option is to download an AppImage. This way you get the latest bpftrace.

Run tracer

Trace GIL with BCC event collector

sudo main.py -p 7031

Trace GIL with bpftrace (no GUI yet)

sudo bpftrace -p $pid tracing_programs/trace_without_lines.d

or

sudo bpftrace -p $pid tracing_programs/trace_with_lines.d

About

GIL tracer - monitor and analyze GIL usage with eBPF

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published