From 5ef8451312f77bd39ed018d856bf8dc94449a2ce Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 9 Sep 2019 14:01:28 -0500 Subject: update README --- README | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'README') 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 -- cgit