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

#411 in Debugging

Download history 2417/week @ 2023-12-23 4079/week @ 2023-12-30 5535/week @ 2024-01-06 5494/week @ 2024-01-13 5858/week @ 2024-01-20 6080/week @ 2024-01-27 6390/week @ 2024-02-03 6597/week @ 2024-02-10 7240/week @ 2024-02-17 5600/week @ 2024-02-24 6042/week @ 2024-03-02 6397/week @ 2024-03-09 6659/week @ 2024-03-16 5222/week @ 2024-03-23 5570/week @ 2024-03-30 4604/week @ 2024-04-06

22,947 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

~48–265KB