diff options
-rw-r--r-- | README | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -142,9 +142,13 @@ First run the fitter: Then, identify the PID of the fit program and run: - $ sudo perf record -F 99 -p [PID] --call-graph dwarf sleep 10 + $ sudo perf record -F 99 -p [PID] --call-graph dwarf -- sleep 10 -Then, to create the flame graph: +Then, you can see the results by running: + + $ perf report + +or to create a flame graph (see https://github.com/brendangregg/FlameGraph): $ sudo chown [username]:[username] perf.data $ perf script > out.perf |