#redox #kernel #perf

nightly app redox-kprofiling

Conversion tool from Redox kernel profiling data into perf script

1 unstable release

0.1.0 Mar 31, 2024

#302 in Profiling

MIT license

6KB
90 lines

Usage


nm -CS /path/to/kernel >/path/to/ksym

# OPTIONS: a combination of o, x, and/or i (see source code)
# FREQ: CPU frequency in GHz (assumes constant_tsc, check lscpu on Linux)

cargo run -- /path/to/redoxfs/root/profiling.txt /path/to/ksym OPTIONS FREQ | inferno-collapse-perf | inferno-flamegraph >/path/to/flamegraph.svg

Dependencies

~135KB