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§
- Implementation of syscalls
- Default exports
Structs§
- Actual main tracer
- Build hstrace
- Resolved system call
- Options for customizing the tracing behavior
- This will format line
- Implementation of tracing loop; internal struct, use
HStrace
instead
Enums§
- This is re-export of
nix::errno::Errno
- An error returned when tracing fails
- What to trace