7 releases

0.3.2 Nov 4, 2020
0.3.1 Nov 17, 2019
0.3.0 Oct 13, 2019
0.2.0 Jan 28, 2019
0.1.0 Nov 20, 2017

#11 in #stacktrace

Download history 306/week @ 2022-08-07 476/week @ 2022-08-14 341/week @ 2022-08-21 485/week @ 2022-08-28 540/week @ 2022-09-04 265/week @ 2022-09-11 228/week @ 2022-09-18 144/week @ 2022-09-25 172/week @ 2022-10-02 152/week @ 2022-10-09 161/week @ 2022-10-16 350/week @ 2022-10-23 241/week @ 2022-10-30 422/week @ 2022-11-06 315/week @ 2022-11-13 453/week @ 2022-11-20

1,472 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

38KB
822 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

~310–790KB
~18K SLoC