https://github.com/nuclia/rust-spy
CLI to dump thread frames from a running application
https://github.com/nuclia/rust-spy
Last synced: 8 months ago
JSON representation
CLI to dump thread frames from a running application
- Host: GitHub
- URL: https://github.com/nuclia/rust-spy
- Owner: nuclia
- License: apache-2.0
- Created: 2023-09-08T14:14:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-28T17:14:36.000Z (about 2 years ago)
- Last Synced: 2024-12-10T07:56:41.455Z (10 months ago)
- Language: Rust
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# rust-spy
Linux-only CLI to dump all threads from a running process.
If you want to spy on your Rust app, make sure you compile
it with debug information enabled (even in release mode)
so you get all symbols converted to files/lines/columns.Depends on the `libdw` system lib. Install it on Debuntu with:
```
apt-get install libdw-dev
```Installation:
```
cargo install rust-spy
```Usage:
```
rust-spy [pid]
```If you get a permission denied error, run as root.
# License
Licensed under APLv2, ([LICENSE.txt](LICENSE.txt) or http://www.apache.org/licenses/LICENSE-2.0)