Lines Matching refs:pid

98       tracing code.  Trying to apply that comm value to other pid
100 pid-specific comm fields in the event itself.
751 system call id and pid - the end result is essentially a table
752 that keeps a per-pid sum of system call hits. The results are
801 pid, but it also gives us quite a bit more than that, which we
844 common_pid and size event fields. Sorting with pid as the primary
1718 same pid as 'next_pid'.
1742 # echo 'hist:keys=pid:vals=$ts0,$b:ts0=common_timestamp,b=field1 ...' >> \
1749 # echo 'hist:keys=pid:ts0=common_timestamp,b=field1:vals=$ts0,$b ...' >> \
1756 # echo 'hist:keys=pid:ts0=common_timestamp:b=field1 ...' >> event/trigger
1763 # echo 'hist:keys=pid,prio:ts0=common_timestamp ...' >> event1/trigger
1773 # echo 'hist:key=pid:wakeupswitch_lat=$wakeup_lat+$switchtime_lat ...' >> event3/trigger
1825 with 3 fields: lat, pid, and prio. Each of those fields is simply a
1830 pid_t pid; \
1838 wakeup_latency u64 lat; pid_t pid; int prio
1843 # echo '!wakeup_latency u64 lat pid_t pid int prio' >> \
1861 # echo 'hist:keys=pid,prio,lat.log2:sort=lat' >> \
1873 # trigger info: hist:keys=pid,prio,lat.log2:vals=hitcount:sort=lat.log2:size=2048 [active]
1876 { pid: 2035, prio: 9, lat: ~ 2^2 } hitcount: 43
1877 { pid: 2034, prio: 9, lat: ~ 2^2 } hitcount: 60
1878 { pid: 2029, prio: 9, lat: ~ 2^2 } hitcount: 965
1879 { pid: 2034, prio: 120, lat: ~ 2^2 } hitcount: 9
1880 { pid: 2033, prio: 120, lat: ~ 2^2 } hitcount: 5
1881 { pid: 2030, prio: 9, lat: ~ 2^2 } hitcount: 335
1882 { pid: 2030, prio: 120, lat: ~ 2^2 } hitcount: 10
1883 { pid: 2032, prio: 120, lat: ~ 2^2 } hitcount: 1
1884 { pid: 2035, prio: 120, lat: ~ 2^2 } hitcount: 2
1885 { pid: 2031, prio: 9, lat: ~ 2^2 } hitcount: 176
1886 { pid: 2028, prio: 120, lat: ~ 2^2 } hitcount: 15
1887 { pid: 2033, prio: 9, lat: ~ 2^2 } hitcount: 91
1888 { pid: 2032, prio: 9, lat: ~ 2^2 } hitcount: 125
1889 { pid: 2029, prio: 120, lat: ~ 2^2 } hitcount: 4
1890 { pid: 2031, prio: 120, lat: ~ 2^2 } hitcount: 3
1891 { pid: 2029, prio: 120, lat: ~ 2^3 } hitcount: 2
1892 { pid: 2035, prio: 9, lat: ~ 2^3 } hitcount: 41
1893 { pid: 2030, prio: 120, lat: ~ 2^3 } hitcount: 1
1894 { pid: 2032, prio: 9, lat: ~ 2^3 } hitcount: 32
1895 { pid: 2031, prio: 9, lat: ~ 2^3 } hitcount: 44
1896 { pid: 2034, prio: 9, lat: ~ 2^3 } hitcount: 40
1897 { pid: 2030, prio: 9, lat: ~ 2^3 } hitcount: 29
1898 { pid: 2033, prio: 9, lat: ~ 2^3 } hitcount: 31
1899 { pid: 2029, prio: 9, lat: ~ 2^3 } hitcount: 31
1900 { pid: 2028, prio: 120, lat: ~ 2^3 } hitcount: 18
1901 { pid: 2031, prio: 120, lat: ~ 2^3 } hitcount: 2
1902 { pid: 2028, prio: 120, lat: ~ 2^4 } hitcount: 1
1903 { pid: 2029, prio: 9, lat: ~ 2^4 } hitcount: 4
1904 { pid: 2031, prio: 120, lat: ~ 2^7 } hitcount: 1
1905 { pid: 2032, prio: 120, lat: ~ 2^7 } hitcount: 1
1916 # echo 'hist:keys=pid,prio,lat.buckets=10:sort=lat' >> \
1921 …# trigger info: hist:keys=pid,prio,lat.buckets=10:vals=hitcount:sort=lat.buckets=10:size=2048 [act…
1924 { pid: 2067, prio: 9, lat: ~ 0-9 } hitcount: 220
1925 { pid: 2068, prio: 9, lat: ~ 0-9 } hitcount: 157
1926 { pid: 2070, prio: 9, lat: ~ 0-9 } hitcount: 100
1927 { pid: 2067, prio: 120, lat: ~ 0-9 } hitcount: 6
1928 { pid: 2065, prio: 120, lat: ~ 0-9 } hitcount: 2
1929 { pid: 2066, prio: 120, lat: ~ 0-9 } hitcount: 2
1930 { pid: 2069, prio: 9, lat: ~ 0-9 } hitcount: 122
1931 { pid: 2069, prio: 120, lat: ~ 0-9 } hitcount: 8
1932 { pid: 2070, prio: 120, lat: ~ 0-9 } hitcount: 1
1933 { pid: 2068, prio: 120, lat: ~ 0-9 } hitcount: 7
1934 { pid: 2066, prio: 9, lat: ~ 0-9 } hitcount: 365
1935 { pid: 2064, prio: 120, lat: ~ 0-9 } hitcount: 35
1936 { pid: 2065, prio: 9, lat: ~ 0-9 } hitcount: 998
1937 { pid: 2071, prio: 9, lat: ~ 0-9 } hitcount: 85
1938 { pid: 2065, prio: 9, lat: ~ 10-19 } hitcount: 2
1939 { pid: 2064, prio: 120, lat: ~ 10-19 } hitcount: 2
1951 # echo 's:block_lat pid_t pid; u64 delta; unsigned long[] stack;' > dynamic_events
1969 <idle>-0 [005] d..4. 521.164922: block_lat: pid=0 delta=8322 stack=STACK:
1981 <...>-2 [004] d..4. 525.184257: block_lat: pid=2 delta=76 stack=STACK:
2195 # echo 'wakeup_new_test pid_t pid' >> \
2199 wakeup_new_test pid_t pid
2207 # echo 'hist:keys=$testpid:testpid=pid:onmatch(sched.sched_wakeup_new).\
2213 # echo 'hist:keys=$testpid:testpid=pid:onmatch(sched.sched_wakeup_new).\
2221 # echo 'hist:keys=pid:sort=pid' >> \
2236 # echo 'wakeup_latency u64 lat; pid_t pid; int prio' >> \
2242 # echo 'hist:keys=$saved_pid:saved_pid=pid:ts0=common_timestamp.usecs \
2259 # echo 'hist:keys=pid,prio,lat:sort=pid,lat' >> \
2282 sched_waking and another for sched_switch, keyed on pid. Whenever
2284 corresponding to the current pid, and when the scheduler switches
2285 back to that pid, the timestamp difference is calculated. If the
2290 # echo 'hist:keys=pid:ts0=common_timestamp.usecs \
2341 sched_waking and another for sched_switch, keyed on pid. Whenever
2343 corresponding to the current pid, and when the scheduler switches
2344 back to that pid, the timestamp difference is calculated. If the
2352 # echo 'hist:keys=pid:ts0=common_timestamp.usecs \
2407 …<idle>-0 [005] d.h3 309.873611: sched_waking: comm=cyclictest pid=2102 prio=19 target_cpu=005
2408 …<idle>-0 [005] dNh4 309.873613: sched_wakeup: comm=cyclictest pid=2102 prio=19 target_cpu=005
2411 …<idle>-0 [005] d.h3 309.874624: sched_waking: comm=cyclictest pid=2102 prio=19 target_cpu=005
2412 …<idle>-0 [005] dNh4 309.874626: sched_wakeup: comm=cyclictest pid=2102 prio=19 target_cpu=005
2413 …<idle>-0 [005] dNh3 309.874628: sched_waking: comm=cyclictest pid=2103 prio=19 target_cpu=005
2414 …<idle>-0 [005] dNh4 309.874630: sched_wakeup: comm=cyclictest pid=2103 prio=19 target_cpu=005
2416 …<idle>-0 [004] d.h3 309.874757: sched_waking: comm=gnome-terminal- pid=1699 prio=120 target_…
2417 …<idle>-0 [004] dNh4 309.874762: sched_wakeup: comm=gnome-terminal- pid=1699 prio=120 target_…
2419 …gnome-terminal--1699 [004] d.h2 309.874941: sched_stat_runtime: comm=gnome-terminal- pid=1699 r…
2420 … <idle>-0 [003] d.s4 309.874956: sched_waking: comm=rcu_sched pid=9 prio=120 target_cpu=007
2422 … <idle>-0 [003] d.s5 309.874961: sched_wakeup: comm=rcu_sched pid=9 prio=120 target_cpu=007
2424 …rcu_sched-9 [007] d..3 309.874973: sched_stat_runtime: comm=rcu_sched pid=9 runtime=13646 [n…
2426 …<...>-2102 [005] d..4 309.874994: sched_migrate_task: comm=cyclictest pid=2103 prio=19 orig_cpu…
2520 …gnome-shell-1261 [006] dN.3 49.823113: sched_stat_runtime: comm=gnome-shell pid=1261 runtime=4…
2523 …kworker/3:2-135 [003] d..3 49.823118: sched_stat_runtime: comm=kworker/3:2 pid=135 runtime=53…
2524 …kworker/6:2-387 [006] d..3 49.823120: sched_stat_runtime: comm=kworker/6:2 pid=387 runtime=95…
2567 record the calculated latency along with the pid.
2889 # echo 'hist:keys=pid:ts0=common_timestamp.usecs' > events/sched/sched_waking/trigger
2895 trace_marker write with the pid that is being woken by sched_waking.