repo.or.cz
/
drm
/
drm-misc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git]
/
tools
/
perf
/
perf-iostat.sh
blob
e562f252d56ffa838028bed2e4afa891b2406aea
1
#!/bin/bash
2
# SPDX-License-Identifier: GPL-2.0
3
# perf iostat
4
# Alexander Antonov <alexander.antonov@linux.intel.com>
5
6
if
[[
"
$1
"
==
"list"
]]
||
[[
"
$1
"
=
~
([
a-f0-9A-F
]{
1
,}):([
a-f0-9A-F
]{
1
,
2
})(,)
?
]];
then
7
DELIMITER
=
"="
8
else
9
DELIMITER
=
" "
10
fi
11
12
perf stat
--iostat
$DELIMITER
$
*