mirror of
https://github.com/brendangregg/perf-tools.git
synced 2025-11-30 23:16:03 +07:00
Keep -t usage < 80 chars
This commit is contained in:
4
iosnoop
4
iosnoop
@@ -206,7 +206,7 @@ if ! echo 1 > events/block/$b_start/enable || \
|
||||
fi
|
||||
(( opt_start )) && printf "%-14s " "STARTs"
|
||||
(( opt_end )) && printf "%-14s " "ENDs"
|
||||
printf "%-16.16s %-6s %-4s %-8s %-12s %-6s %8s\n" \
|
||||
printf "%-12.12s %-6s %-4s %-8s %-12s %-6s %8s\n" \
|
||||
"COMM" "PID" "TYPE" "DEV" "BLOCK" "BYTES" "LATms"
|
||||
|
||||
#
|
||||
@@ -277,7 +277,7 @@ fi ) | $awk -v o=$offset -v opt_name=$opt_name -v name=$name \
|
||||
printf "%-14s ", starts[dev, loc]
|
||||
if (opt_end)
|
||||
printf "%-14s ", time
|
||||
printf "%-16.16s %-6s %-4s %-8s %-12s %-6s %8s\n",
|
||||
printf "%-12.12s %-6s %-4s %-8s %-12s %-6s %8s\n",
|
||||
comm, pid, dir, dev, loc, nsec * 512, latency
|
||||
if (!opt_duration)
|
||||
fflush()
|
||||
|
||||
@@ -116,7 +116,7 @@ Trace I/O queued when PID 181 was on-CPU (more accurate), and include queue time
|
||||
.TP
|
||||
COMM
|
||||
Process name (command) for the PID that was on-CPU when the I/O was issued, or
|
||||
inserted if \-Q is used. See PID.
|
||||
inserted if \-Q is used. See PID. This column is truncated to 12 characters.
|
||||
.TP
|
||||
PID
|
||||
Process ID which was on-CPU when the I/O was issued, or inserted if \-Q is
|
||||
|
||||
Reference in New Issue
Block a user