You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2018/12/10 22:19:25 UTC
[mesos] branch master updated: Removed unnecessary '--all-cpus'
option from perf documentation.
This is an automated email from the ASF dual-hosted git repository.
bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 577c0a2 Removed unnecessary '--all-cpus' option from perf documentation.
577c0a2 is described below
commit 577c0a248f61164058c15ed735fcdd8568d264a4
Author: Benjamin Mahler <bm...@apache.org>
AuthorDate: Mon Dec 10 17:04:47 2018 -0500
Removed unnecessary '--all-cpus' option from perf documentation.
This flag is the deafult when no target cpus are specified, so
there is no need to include it.
---
docs/performance-profiling.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/performance-profiling.md b/docs/performance-profiling.md
index 7d13c7e..d1d5d4e 100644
--- a/docs/performance-profiling.md
+++ b/docs/performance-profiling.md
@@ -9,10 +9,10 @@ This document over time will be home to various guides on how to use various pro
## Flamescope
-[Flamescope](https://github.com/Netflix/flamescope) is a visualization tool for exploring different time ranges as [flamegraphs](https://github.com/brendangregg/FlameGraph). In order to use the tool, you first need to obtain stack traces, here's how to obtain a 60 second recording at 100 hertz using Linux perf:
+[Flamescope](https://github.com/Netflix/flamescope) is a visualization tool for exploring different time ranges as [flamegraphs](https://github.com/brendangregg/FlameGraph). In order to use the tool, you first need to obtain stack traces, here's how to obtain a 60 second recording of the mesos master process at 100 hertz using Linux perf:
```
-$ sudo perf record --freq=100 --all-cpus --no-inherit --call-graph dwarf -p <mesos-master-pid> -- sleep 60
+$ sudo perf record --freq=100 --no-inherit --call-graph dwarf -p <mesos-master-pid> -- sleep 60
$ sudo perf script --header | c++filt > mesos-master.stacks
$ gzip mesos-master.stacks
```