Skip to content

Commit

Permalink
Update dependecies
Browse files Browse the repository at this point in the history
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
  • Loading branch information
kakkoyun committed Oct 5, 2023
1 parent 0d7302e commit c11619b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,19 @@ nix = "0.26"
num_cpus = "1.16"
perf-event-open-sys = "4.0"
plain = "0.2.3"
# pprof = { path = "../../Sandbox/Profiling/pprof-rs", features = [
pprof = { git = "ssh://git@github.com/kakkoyun/py-spy.git", features = [

# TODO(kakkoyun): Send a patch to upstream.
pprof = { git = "ssh://git@github.com/kakkoyun/pprof-rs.git", features = [
# pprof = { path = "../../Sandbox/Profiling/pprof-rs", features = [
"flamegraph",
"inferno",
"protobuf",
"protobuf-codec",
"protobuf-codec"
] }
proc-maps = "0.3"
# py-spy = { path = "../../Sandbox/Profilers/py-spy" }
# TODO(kakkoyun): Send a patch to upstream.
py-spy = { git = "ssh://git@github.com/kakkoyun/py-spy.git" }
# py-spy = { path = "../../Sandbox/Profilers/py-spy" }
remoteprocess = { version = "0.4.12", features = ["unwind"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand All @@ -50,7 +52,7 @@ thiserror = "1.0"
time = { version = "0.3.24", features = [
"formatting",
"local-offset",
"macros",
"macros"
] }

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ Kernel-space code (eBPF profiler): GNU General Public License, version 2
- TODO(kakkoyun): Add sections from parca-agent!
- TODO(kakkoyun): Add reference to bcc, bcc/granulate and linux/tool examples from facebook.

## Features:
## Features

- Supports profiling Python processes running in Docker containers. Tested using official Python
Docker images (`python:X.Y`).
- Supports glibc- and musl-based environments.
- Supports Python compiled in both PIE and non-PIE configurations.
- Supports Python running standalone and as a library (linked with `libpythonX.Y`).

## Limitations:
## Limitations

- Architecture: x86_64.
- Linux kernel version: oldest version tested is 4.14. Versions 4.11-4.14 may work. Required for
Expand Down
2 changes: 1 addition & 1 deletion src/py_perf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use libbpf_rs::skel::{OpenSkel, SkelBuilder};
use libbpf_rs::{MapFlags, PerfBufferBuilder, ProgramType};

use anyhow::{bail, Context, Result};
use crossbeam::channel::{bounded, select, tick, unbounded, Receiver, RecvError};
use crossbeam::channel::{bounded, select, tick, unbounded, Receiver};
use plain::Plain;
use py_spy::version::Version;
use serde_yaml;
Expand Down

0 comments on commit c11619b

Please sign in to comment.