Expand description
Syscall tracing CLI & library made in Rust
Hstrace makes it possible to trace the syscalls a specific program and its child programs/threads are doing.
§Quick start
use hstrace::prelude::*;
// initializes and starts tracing
let mut tracer = HStraceBuilder::new()
.pid(1000).build();
tracer.start();
Re-exports§
pub use call::SyscallKind;
Modules§
Structs§
- HStrace
- Actual main tracer
- HStrace
Builder - Build hstrace
- HTrace
Iterator - Output
- Syscall
- Resolved system call
- Syscall
Error - Trace
Options - Options for customizing the tracing behavior
- Trace
Output - This will format line
- Trace
Thread - Implementation of tracing loop; internal struct, use
HStrace
instead
Enums§
- Errno
- This is re-export of
nix::errno::Errno
- Filter
Mode - Ident
- Trace
Error - An error returned when tracing fails
- Trace
Type - What to trace