redox-kprofiling-0.2.0 is not a library.
redox-kprofilling
Redox kernel profiller
Usage
This command will extract the symbol table from the kernel binary.
(You need to specify the path for the kernel and ksym)
The following command analyzes the profile data, matches addresses to the symbol table information, and formats the data (cargo run) then inferno-collapse-perf makes the data hierarchical and inferno-flamegraph makes the clickable SVG file.
| |
- Replace the
OPTIONSpart with a combination ofo,x, and/ori(read the source code) - Replace the
FREQpart with the CPU frequency measured in GHz (assumesconstant_tsc, checklscpuon Linux)
If you want more details about how to setup the profilling, read this section.