summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/profile-manual/profile-manual-intro.rst4
-rw-r--r--documentation/profile-manual/profile-manual-usage.rst46
2 files changed, 0 insertions, 50 deletions
diff --git a/documentation/profile-manual/profile-manual-intro.rst b/documentation/profile-manual/profile-manual-intro.rst
index 0d435e0c0c..4e1008b05e 100644
--- a/documentation/profile-manual/profile-manual-intro.rst
+++ b/documentation/profile-manual/profile-manual-intro.rst
@@ -4,8 +4,6 @@
4Yocto Project Profiling and Tracing Manual 4Yocto Project Profiling and Tracing Manual
5****************************************** 5******************************************
6 6
7.. _profile-intro:
8
9Introduction 7Introduction
10============ 8============
11 9
@@ -30,8 +28,6 @@ The final section of this 'HOWTO' is a collection of real-world examples
30which we'll be continually adding to as we solve more problems using the 28which we'll be continually adding to as we solve more problems using the
31tools - feel free to add your own examples to the list! 29tools - feel free to add your own examples to the list!
32 30
33.. _profile-manual-general-setup:
34
35General Setup 31General Setup
36============= 32=============
37 33
diff --git a/documentation/profile-manual/profile-manual-usage.rst b/documentation/profile-manual/profile-manual-usage.rst
index d3c020a1cf..cc403a5540 100644
--- a/documentation/profile-manual/profile-manual-usage.rst
+++ b/documentation/profile-manual/profile-manual-usage.rst
@@ -10,8 +10,6 @@ Basic Usage (with examples) for each of the Yocto Tracing Tools
10This chapter presents basic usage examples for each of the tracing 10This chapter presents basic usage examples for each of the tracing
11tools. 11tools.
12 12
13.. _profile-manual-perf:
14
15perf 13perf
16==== 14====
17 15
@@ -43,8 +41,6 @@ want to apply the tool; full documentation can be found either within
43the tool itself or in the man pages at 41the tool itself or in the man pages at
44`perf(1) <http://linux.die.net/man/1/perf>`__. 42`perf(1) <http://linux.die.net/man/1/perf>`__.
45 43
46.. _perf-setup:
47
48Perf Setup 44Perf Setup
49---------- 45----------
50 46
@@ -61,8 +57,6 @@ profile data and copy it to the host for analysis, but for the rest of
61this document we assume you've ssh'ed to the host and will be running 57this document we assume you've ssh'ed to the host and will be running
62the perf commands on the target. 58the perf commands on the target.
63 59
64.. _perf-basic-usage:
65
66Basic Perf Usage 60Basic Perf Usage
67---------------- 61----------------
68 62
@@ -950,8 +944,6 @@ We can look at the raw output using 'perf script' with no arguments: ::
950 kworker/1:1 21 [001] 6171.470082: sched_switch: prev_comm=kworker/1:1 prev_pid=21 prev_prio=120 prev_state=S ==> next_comm=perf next_pid=1383 next_prio=120 944 kworker/1:1 21 [001] 6171.470082: sched_switch: prev_comm=kworker/1:1 prev_pid=21 prev_prio=120 prev_state=S ==> next_comm=perf next_pid=1383 next_prio=120
951 perf 1383 [001] 6171.480035: sched_wakeup: comm=kworker/1:1 pid=21 prio=120 success=1 target_cpu=001 945 perf 1383 [001] 6171.480035: sched_wakeup: comm=kworker/1:1 pid=21 prio=120 success=1 target_cpu=001
952 946
953.. _perf-filtering:
954
955Filtering 947Filtering
956^^^^^^^^^ 948^^^^^^^^^
957 949
@@ -1138,8 +1130,6 @@ callgraphs from starting a few programs during those 30 seconds:
1138 uprobes. kprobes and uprobes are also used by and in fact are the 1130 uprobes. kprobes and uprobes are also used by and in fact are the
1139 main focus of SystemTap. 1131 main focus of SystemTap.
1140 1132
1141.. _perf-documentation:
1142
1143Perf Documentation 1133Perf Documentation
1144------------------ 1134------------------
1145 1135
@@ -1182,8 +1172,6 @@ There's also a nice perf tutorial on the perf
1182wiki that goes into more detail than we do here in certain areas: `Perf 1172wiki that goes into more detail than we do here in certain areas: `Perf
1183Tutorial <https://perf.wiki.kernel.org/index.php/Tutorial>`__ 1173Tutorial <https://perf.wiki.kernel.org/index.php/Tutorial>`__
1184 1174
1185.. _profile-manual-ftrace:
1186
1187ftrace 1175ftrace
1188====== 1176======
1189 1177
@@ -1191,8 +1179,6 @@ ftrace
1191this encompasses a number of related tracers along with the 1179this encompasses a number of related tracers along with the
1192infrastructure that they all make use of. 1180infrastructure that they all make use of.
1193 1181
1194.. _ftrace-setup:
1195
1196ftrace Setup 1182ftrace Setup
1197------------ 1183------------
1198 1184
@@ -1668,8 +1654,6 @@ trace-cmd and kernelshark in the next section.
1668 /sys/kernel/debug/tracing will be removed and replaced with 1654 /sys/kernel/debug/tracing will be removed and replaced with
1669 equivalent tracers based on the 'trace events' subsystem. 1655 equivalent tracers based on the 'trace events' subsystem.
1670 1656
1671.. _trace-cmd-kernelshark:
1672
1673trace-cmd/kernelshark 1657trace-cmd/kernelshark
1674--------------------- 1658---------------------
1675 1659
@@ -1737,8 +1721,6 @@ The tool is pretty self-explanatory, but for more detailed information
1737on navigating through the data, see the `kernelshark 1721on navigating through the data, see the `kernelshark
1738website <http://rostedt.homelinux.com/kernelshark/>`__. 1722website <http://rostedt.homelinux.com/kernelshark/>`__.
1739 1723
1740.. _ftrace-documentation:
1741
1742ftrace Documentation 1724ftrace Documentation
1743-------------------- 1725--------------------
1744 1726
@@ -1772,8 +1754,6 @@ There's more detailed documentation kernelshark usage here:
1772An amusing yet useful README (a tracing mini-HOWTO) can be found in 1754An amusing yet useful README (a tracing mini-HOWTO) can be found in
1773``/sys/kernel/debug/tracing/README``. 1755``/sys/kernel/debug/tracing/README``.
1774 1756
1775.. _profile-manual-systemtap:
1776
1777systemtap 1757systemtap
1778========= 1758=========
1779 1759
@@ -1835,8 +1815,6 @@ target system and 3) insert the module into the target kernel, which
1835arms it, and 4) collect the data generated by the probe and display it 1815arms it, and 4) collect the data generated by the probe and display it
1836to the user. 1816to the user.
1837 1817
1838.. _systemtap-setup:
1839
1840systemtap Setup 1818systemtap Setup
1841--------------- 1819---------------
1842 1820
@@ -1955,8 +1933,6 @@ no password):
1955 matchbox-termin(1036) open ("/tmp/vte3FS2LW", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) 1933 matchbox-termin(1036) open ("/tmp/vte3FS2LW", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600)
1956 matchbox-termin(1036) open ("/tmp/vteJMC7LW", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) 1934 matchbox-termin(1036) open ("/tmp/vteJMC7LW", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600)
1957 1935
1958.. _systemtap-documentation:
1959
1960systemtap Documentation 1936systemtap Documentation
1961----------------------- 1937-----------------------
1962 1938
@@ -1967,8 +1943,6 @@ Links to other SystemTap documents, tutorials, and examples can be found
1967here: `SystemTap documentation 1943here: `SystemTap documentation
1968page <http://sourceware.org/systemtap/documentation.html>`__ 1944page <http://sourceware.org/systemtap/documentation.html>`__
1969 1945
1970.. _profile-manual-sysprof:
1971
1972Sysprof 1946Sysprof
1973======= 1947=======
1974 1948
@@ -1976,8 +1950,6 @@ Sysprof is a very easy to use system-wide profiler that consists of a
1976single window with three panes and a few buttons which allow you to 1950single window with three panes and a few buttons which allow you to
1977start, stop, and view the profile from one place. 1951start, stop, and view the profile from one place.
1978 1952
1979.. _sysprof-setup:
1980
1981Sysprof Setup 1953Sysprof Setup
1982------------- 1954-------------
1983 1955
@@ -1990,8 +1962,6 @@ be running Sysprof on the target (you can use the '-X' option to ssh and
1990have the Sysprof GUI run on the target but display remotely on the host 1962have the Sysprof GUI run on the target but display remotely on the host
1991if you want). 1963if you want).
1992 1964
1993.. _sysprof-basic-usage:
1994
1995Basic Sysprof Usage 1965Basic Sysprof Usage
1996------------------- 1966-------------------
1997 1967
@@ -2040,8 +2010,6 @@ to the selected function, and so on.
2040 the -g (--call-graph) option that you can experiment with; one of the 2010 the -g (--call-graph) option that you can experiment with; one of the
2041 options is 'caller' for an inverted caller-based callgraph display. 2011 options is 'caller' for an inverted caller-based callgraph display.
2042 2012
2043.. _sysprof-documentation:
2044
2045Sysprof Documentation 2013Sysprof Documentation
2046--------------------- 2014---------------------
2047 2015
@@ -2053,8 +2021,6 @@ Linux <http://sysprof.com/>`__
2053LTTng (Linux Trace Toolkit, next generation) 2021LTTng (Linux Trace Toolkit, next generation)
2054============================================ 2022============================================
2055 2023
2056.. _lttng-setup:
2057
2058LTTng Setup 2024LTTng Setup
2059----------- 2025-----------
2060 2026
@@ -2239,8 +2205,6 @@ trace - it's still there in ~/lttng-traces): ::
2239 root@crownbay:~# lttng destroy 2205 root@crownbay:~# lttng destroy
2240 Session auto-20190303-021943 destroyed at /home/root 2206 Session auto-20190303-021943 destroyed at /home/root
2241 2207
2242.. _lltng-documentation:
2243
2244LTTng Documentation 2208LTTng Documentation
2245------------------- 2209-------------------
2246 2210
@@ -2254,8 +2218,6 @@ For information on LTTng in general, visit the `LTTng
2254Project <http://lttng.org/lttng2.0>`__ site. You can find a "Getting 2218Project <http://lttng.org/lttng2.0>`__ site. You can find a "Getting
2255Started" link on this site that takes you to an LTTng Quick Start. 2219Started" link on this site that takes you to an LTTng Quick Start.
2256 2220
2257.. _profile-manual-blktrace:
2258
2259blktrace 2221blktrace
2260======== 2222========
2261 2223
@@ -2264,8 +2226,6 @@ blktrace provides the tracing half of the equation; its output can be
2264piped into the blkparse program, which renders the data in a 2226piped into the blkparse program, which renders the data in a
2265human-readable form and does some basic analysis: 2227human-readable form and does some basic analysis:
2266 2228
2267.. _blktrace-setup:
2268
2269blktrace Setup 2229blktrace Setup
2270-------------- 2230--------------
2271 2231
@@ -2281,8 +2241,6 @@ collect and analyze the data on the host (see the
2281below). For the rest of this section we assume you've ssh'ed to the host and 2241below). For the rest of this section we assume you've ssh'ed to the host and
2282will be running blkrace on the target. 2242will be running blkrace on the target.
2283 2243
2284.. _blktrace-basic-usage:
2285
2286Basic blktrace Usage 2244Basic blktrace Usage
2287-------------------- 2245--------------------
2288 2246
@@ -2411,8 +2369,6 @@ I/O traffic during the run. You can look at the
2411`blkparse <http://linux.die.net/man/1/blkparse>`__ manpage to learn the 2369`blkparse <http://linux.die.net/man/1/blkparse>`__ manpage to learn the
2412meaning of each field displayed in the trace listing. 2370meaning of each field displayed in the trace listing.
2413 2371
2414.. _blktrace-live-mode:
2415
2416Live Mode 2372Live Mode
2417~~~~~~~~~ 2373~~~~~~~~~
2418 2374
@@ -2603,8 +2559,6 @@ And this turns off tracing for the specified device: ::
2603 2559
2604 root@crownbay:/sys/kernel/debug/tracing# echo 0 > /sys/block/sdc/trace/enable 2560 root@crownbay:/sys/kernel/debug/tracing# echo 0 > /sys/block/sdc/trace/enable
2605 2561
2606.. _blktrace-documentation:
2607
2608blktrace Documentation 2562blktrace Documentation
2609---------------------- 2563----------------------
2610 2564