Cargo Features

[dependencies]
perf-event = { version = "0.4.8", default-features = false, features = ["hooks"] }
hooks default

Enable syscall interception hooks for mock testing and logging.

Affects perf-event::hooks

default = hooks

The hooks feature is set by default whenever perf-event is added without default-features = false somewhere in the dependency tree.