diff options
author | Qiaowei Ren <qiaowei.ren@intel.com> | 2018-03-01 14:38:11 +0800 |
---|---|---|
committer | Qiaowei Ren <qiaowei.ren@intel.com> | 2018-03-01 14:38:11 +0800 |
commit | 7da45d65be36d36b880cc55c5036e96c24b53f00 (patch) | |
tree | d4f944eb4f8f8de50a9a7584ffa408dc3a3185b2 /src/ceph/doc/dev/cpu-profiler.rst | |
parent | 691462d09d0987b47e112d6ee8740375df3c51b2 (diff) |
remove ceph code
This patch removes initial ceph code, due to license issue.
Change-Id: I092d44f601cdf34aed92300fe13214925563081c
Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Diffstat (limited to 'src/ceph/doc/dev/cpu-profiler.rst')
-rw-r--r-- | src/ceph/doc/dev/cpu-profiler.rst | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/ceph/doc/dev/cpu-profiler.rst b/src/ceph/doc/dev/cpu-profiler.rst deleted file mode 100644 index d7a77fe..0000000 --- a/src/ceph/doc/dev/cpu-profiler.rst +++ /dev/null @@ -1,54 +0,0 @@ -===================== - Installing Oprofile -===================== - -The easiest way to profile Ceph's CPU consumption is to use the `oprofile`_ -system-wide profiler. - -.. _oprofile: http://oprofile.sourceforge.net/about/ - -Installation -============ - -If you are using a Debian/Ubuntu distribution, you can install ``oprofile`` by -executing the following:: - - sudo apt-get install oprofile oprofile-gui - - -Compiling Ceph for Profiling -============================ - -To compile Ceph for profiling, first clean everything. :: - - make distclean - -Then, export the following settings so that you can see callgraph output. :: - - export CFLAGS="-fno=omit-frame-pointer -O2 -g" - -Finally, compile Ceph. :: - - ./autogen.sh - ./configure - make - -You can use ``make -j`` to execute multiple jobs depending upon your system. For -example:: - - make -j4 - - -Ceph Configuration -================== - -Ensure that you disable ``lockdep``. Consider setting logging to -levels appropriate for a production cluster. See `Ceph Logging and Debugging`_ -for details. - -.. _Ceph Logging and Debugging: ../../rados/troubleshooting/log-and-debug - -See the `CPU Profiling`_ section of the RADOS Troubleshooting documentation for details on using Oprofile. - - -.. _CPU Profiling: ../../rados/troubleshooting/cpu-profiling
\ No newline at end of file |