Crate hstrace[−][src]
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
call | Implementation of syscalls |
prelude | Default exports |
ptrace | |
value |
Structs
HStrace | Actual main tracer |
HStraceBuilder | Build hstrace |
HTraceIterator | |
Output | |
Syscall | Resolved system call |
SyscallError | |
TraceOptions | Options for customizing the tracing behavior |
TraceOutput | This will format line |
TraceThread | Implementation of tracing loop; internal struct, use |
Enums
Errno | This is re-export of |
FilterMode | |
Ident | |
TraceError | An error returned when tracing fails |
TraceType | What to trace |
Traits
VarOutType | |
VarType |