8 releases

0.3.3 Dec 16, 2022
0.3.2 Nov 4, 2020
0.3.1 Nov 17, 2019
0.3.0 Oct 13, 2019
0.1.0 Nov 20, 2017

#641 in Debugging

Download history 8055/week @ 2024-06-15 6618/week @ 2024-06-22 6308/week @ 2024-06-29 7084/week @ 2024-07-06 7269/week @ 2024-07-13 6575/week @ 2024-07-20 5975/week @ 2024-07-27 6405/week @ 2024-08-03 7097/week @ 2024-08-10 7600/week @ 2024-08-17 6644/week @ 2024-08-24 5907/week @ 2024-08-31 6584/week @ 2024-09-07 6009/week @ 2024-09-14 6329/week @ 2024-09-21 6858/week @ 2024-09-28

26,656 downloads per month
Used in 6 crates

MIT/Apache

32KB
739 lines

rstack

Documentation

Remote stack tracing.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Thread stack traces of remote processes.

rstack (named after Java's jstack) uses ptrace to capture stack traces of the threads of a remote process. It currently only supports Linux, and requires that the /proc pseudo-filesystem be mounted and accessible. Multiple unwinding implementations are supported via Cargo features:

By default, the libunwind backend is used. You can switch to libdw via Cargo:

[dependencies]
rstack = { version = "0.1", features = ["dw"], default-features = false }

Dependencies

~52–255KB