Debian Codegraph @

testsuite/systemtap.examples/profiling/thread-times.txt

raw
1 thread-times.stp - Profile Kernel Functions
2
3 The thread-times.stp script sets up time-based sampling. Every five
4 seconds it prints out a sorted list with the top twenty threads
5 occupying the CPUs, broken down as a percentage of user and kernel
6 time.
7
8 $ stap thread-times.stp -T 5
9
10 comm tid %user %kernel (of 8004 ticks)
11 eu-readelf 22304 49.86% 0.09%
12 swapper/0 0 0.00% 49.77%
13 bash 9635 0.01% 0.03%
14 sshd 9634 0.01% 0.02%
15 bash 23434 0.00% 0.02%
16 bash 23431 0.00% 0.01%
17 ls 23421 0.01% 0.00%
18 bash 23428 0.00% 0.01%
19 ls 23427 0.00% 0.01%
20 bash 23425 0.00% 0.01%
21 ls 23424 0.01% 0.00%
22 bash 23420 0.00% 0.01%
23 stapio 23417 0.00% 0.01%
24 bash 23422 0.00% 0.01%
25 ls 23433 0.00% 0.01%
26 ls 23430 0.01% 0.00%
27 ls 23418 0.01% 0.00%
28