aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README8
1 files changed, 6 insertions, 2 deletions
diff --git a/README b/README
index c7eae9f..f068b49 100644
--- a/README
+++ b/README
@@ -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