summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-01-21 14:23:44 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-27 13:56:04 +0000
commit5cd5cb2b261b076bfa2645720a40c89c9efcec23 (patch)
treec6c3b39c8085e184e5f955ed215a0390c153803a
parent34f0fc372843686edbbf3b959574f6d5b39bb326 (diff)
downloadpoky-5cd5cb2b261b076bfa2645720a40c89c9efcec23.tar.gz
profile-manual: Added links for literall http:// strings.
(From yocto-docs rev: a30bc0c5e1c752ea3c6f73acd203e80a398d5368) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/profile-manual/profile-manual-usage.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/documentation/profile-manual/profile-manual-usage.xml b/documentation/profile-manual/profile-manual-usage.xml
index 68ea68507b..2143cbbefc 100644
--- a/documentation/profile-manual/profile-manual-usage.xml
+++ b/documentation/profile-manual/profile-manual-usage.xml
@@ -123,18 +123,18 @@
123 host of supported busybox applets in Yocto. 123 host of supported busybox applets in Yocto.
124 <literallayout class='monospaced'> 124 <literallayout class='monospaced'>
125 root@crownbay:~# rm linux-2.6.19.2.tar.bz2; \ 125 root@crownbay:~# rm linux-2.6.19.2.tar.bz2; \
126 wget http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2 126 wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>
127 </literallayout> 127 </literallayout>
128 The quickest and easiest way to get some basic overall data about 128 The quickest and easiest way to get some basic overall data about
129 what's going on for a particular workload it to profile it using 129 what's going on for a particular workload it to profile it using
130 'perf stat'. 'perf stat' basically profiles using a few default 130 'perf stat'. 'perf stat' basically profiles using a few default
131 counters and displays the summed counts at the end of the run: 131 counters and displays the summed counts at the end of the run:
132 <literallayout class='monospaced'> 132 <literallayout class='monospaced'>
133 root@crownbay:~# perf stat wget http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2 133 root@crownbay:~# perf stat wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>
134 Connecting to downloads.yoctoproject.org (140.211.169.59:80) 134 Connecting to downloads.yoctoproject.org (140.211.169.59:80)
135 linux-2.6.19.2.tar.b 100% |***************************************************| 41727k 0:00:00 ETA 135 linux-2.6.19.2.tar.b 100% |***************************************************| 41727k 0:00:00 ETA
136 136
137 Performance counter stats for 'wget http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2': 137 Performance counter stats for 'wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>':
138 138
139 4597.223902 task-clock # 0.077 CPUs utilized 139 4597.223902 task-clock # 0.077 CPUs utilized
140 23568 context-switches # 0.005 M/sec 140 23568 context-switches # 0.005 M/sec
@@ -161,11 +161,11 @@
161 see a summary of all the events related to kernel memory 161 see a summary of all the events related to kernel memory
162 allocation/freeing along with cache hits and misses: 162 allocation/freeing along with cache hits and misses:
163 <literallayout class='monospaced'> 163 <literallayout class='monospaced'>
164 root@crownbay:~# perf stat -e kmem:* -e cache-references -e cache-misses wget http:// downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2 164 root@crownbay:~# perf stat -e kmem:* -e cache-references -e cache-misses wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>
165 Connecting to downloads.yoctoproject.org (140.211.169.59:80) 165 Connecting to downloads.yoctoproject.org (140.211.169.59:80)
166 linux-2.6.19.2.tar.b 100% |***************************************************| 41727k 0:00:00 ETA 166 linux-2.6.19.2.tar.b 100% |***************************************************| 41727k 0:00:00 ETA
167 167
168 Performance counter stats for 'wget http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2': 168 Performance counter stats for 'wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>':
169 169
170 5566 kmem:kmalloc 170 5566 kmem:kmalloc
171 125517 kmem:kmem_cache_alloc 171 125517 kmem:kmem_cache_alloc
@@ -205,7 +205,7 @@
205 samples until the process exits and records them in a file named 205 samples until the process exits and records them in a file named
206 'perf.data' in the current working directory. 206 'perf.data' in the current working directory.
207 <literallayout class='monospaced'> 207 <literallayout class='monospaced'>
208 root@crownbay:~# perf record wget http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2 208 root@crownbay:~# perf record wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>
209 209
210 Connecting to downloads.yoctoproject.org (140.211.169.59:80) 210 Connecting to downloads.yoctoproject.org (140.211.169.59:80)
211 linux-2.6.19.2.tar.b 100% |************************************************| 41727k 0:00:00 ETA 211 linux-2.6.19.2.tar.b 100% |************************************************| 41727k 0:00:00 ETA
@@ -253,7 +253,7 @@
253 of a sampled function, but the entire callchain to the sampled 253 of a sampled function, but the entire callchain to the sampled
254 function as well: 254 function as well:
255 <literallayout class='monospaced'> 255 <literallayout class='monospaced'>
256 root@crownbay:~# perf record -g wget http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2 256 root@crownbay:~# perf record -g wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>
257 Connecting to downloads.yoctoproject.org (140.211.169.59:80) 257 Connecting to downloads.yoctoproject.org (140.211.169.59:80)
258 linux-2.6.19.2.tar.b 100% |************************************************| 41727k 0:00:00 ETA 258 linux-2.6.19.2.tar.b 100% |************************************************| 41727k 0:00:00 ETA
259 [ perf record: Woken up 3 times to write data ] 259 [ perf record: Woken up 3 times to write data ]
@@ -619,8 +619,8 @@
619 (identified by the string before the colon in the Tracepoint events) 619 (identified by the string before the colon in the Tracepoint events)
620 and do a 'perf stat' run using only those wildcarded subsystems: 620 and do a 'perf stat' run using only those wildcarded subsystems:
621 <literallayout class='monospaced'> 621 <literallayout class='monospaced'>
622 root@crownbay:~# perf stat -e skb:* -e net:* -e napi:* -e sched:* -e workqueue:* -e irq:* -e syscalls:* wget http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2 622 root@crownbay:~# perf stat -e skb:* -e net:* -e napi:* -e sched:* -e workqueue:* -e irq:* -e syscalls:* wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>
623 Performance counter stats for 'wget http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2': 623 Performance counter stats for 'wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>':
624 624
625 23323 skb:kfree_skb 625 23323 skb:kfree_skb
626 0 skb:consume_skb 626 0 skb:consume_skb
@@ -679,7 +679,7 @@
679 Let's pick one of these tracepoints and tell perf to do a profile 679 Let's pick one of these tracepoints and tell perf to do a profile
680 using it as the sampling event: 680 using it as the sampling event:
681 <literallayout class='monospaced'> 681 <literallayout class='monospaced'>
682 root@crownbay:~# perf record -g -e sched:sched_wakeup wget http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2 682 root@crownbay:~# perf record -g -e sched:sched_wakeup wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>
683 </literallayout> 683 </literallayout>
684 </para> 684 </para>
685 685
@@ -750,7 +750,7 @@
750 <literallayout class='monospaced'> 750 <literallayout class='monospaced'>
751 root@crownbay:~# perf record -g -e skb:* -e net:* -e napi:* -e sched:sched_switch -e sched:sched_wakeup -e irq:* 751 root@crownbay:~# perf record -g -e skb:* -e net:* -e napi:* -e sched:sched_switch -e sched:sched_wakeup -e irq:*
752 -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write 752 -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write
753 wget http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2 753 wget <ulink url='http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2'>http://downloads.yoctoproject.org/mirror/sources/linux-2.6.19.2.tar.bz2</ulink>
754 </literallayout> 754 </literallayout>
755 We can look at the raw trace output using 'perf script' with no 755 We can look at the raw trace output using 'perf script' with no
756 arguments: 756 arguments: