downtown

Crates.iodowntown
lib.rsdowntown
version0.1.1
sourcesrc
created_at2023-06-18 08:36:28.839606
updated_at2023-06-27 13:41:57.43015
descriptionA realtime BPF profiler
homepage
repositoryhttps://github.com/elbaro/downtown
max_upload_size
id893339
size2,895,990
elbaro (elbaro)

documentation

README

downtown

A realtime BPF profiler.

cargo install downtown

v0.1.0 - supports Python.

Usage

  • ./downtown src/mycode.py: monitor all python processes (/usr/bin/env python)
  • ./downtown src/mycode.py --pid 123: monitor /proc/123/exe
  • ./downtown src/mycode.py --python-bin ./python: monitor a python binary
  • up, down - scroll
  • enter - toggle

Requirement

  • Python built with --with-dtrace
    • on Linux, verify with readelf -S ./python | grep .note.stapsdt
Commit count: 15

cargo fmt