From 3b41c4ac7e079db0cad9b747ab52d94fc8c21381 Mon Sep 17 00:00:00 2001 From: Alessio Podda Date: Mon, 2 Dec 2024 07:40:51 +0000 Subject: [PATCH] Update CPU profiling using perf --- CPU-profiling-using-perf.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CPU-profiling-using-perf.md b/CPU-profiling-using-perf.md index 6801dcf..6c73a08 100644 --- a/CPU-profiling-using-perf.md +++ b/CPU-profiling-using-perf.md @@ -37,9 +37,9 @@ perf record --compression-level=1 --user-callchains -g --call-graph=dwarf,65528 Below is an explanation of what each of the command line flags do: `perf record` Runs a command under a sampling profiler. See `perf-record(1)` - `--compression-level=1` *optional* Compresses the output file using zstd. + `--compression-level=1` *Optional* Compresses the output file using zstd. - `--user-callchains` Do not record the kernel. + `--user-callchains` *Optional* Do not record the kernel. `-g --call-graph=dwarf,65528` Use dwarf symbols and a maximum stack size of 64k. If this option is omitted, inlined functions might not be visualized correctly.