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

#748 in Debugging

Download history 6648/week @ 2024-07-21 6136/week @ 2024-07-28 6349/week @ 2024-08-04 7097/week @ 2024-08-11 7685/week @ 2024-08-18 6436/week @ 2024-08-25 5842/week @ 2024-09-01 6739/week @ 2024-09-08 5901/week @ 2024-09-15 6391/week @ 2024-09-22 7929/week @ 2024-09-29 7789/week @ 2024-10-06 6536/week @ 2024-10-13 7494/week @ 2024-10-20 6316/week @ 2024-10-27 6522/week @ 2024-11-03

27,134 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

~47–255KB