#cpu #nm #name #rename #email #forgot

nightly app kprofiling

Forgot to rename this to redox-kprofiling, email me if you'd like this crate name

2 releases

0.1.1 Mar 31, 2024
0.1.0 Mar 31, 2024

#328 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