我已经使用 android 中的 blktrace 将跟踪数据收集到文件 parse.bin 中。然后我使用btt
以下方法解析 cellocted 数据:
/ssd/blktrace/btt/btt -i 解析.bin
但它没有报告任何数据。报告如下:
==================== All Devices ====================
ALL MIN AVG MAX N
--------------- ------------- ------------- ------------- -----------
==================== Device Overhead ====================
DEV | Q2G G2I Q2M I2D D2C
---------- | --------- --------- --------- --------- ---------
==================== Device Merge Information ====================
DEV | #Q #D Ratio | BLKmin BLKavg BLKmax Total
---------- | -------- -------- ------- | -------- -------- -------- --------
==================== Device Q2Q Seek Information ====================
DEV | NSEEKS MEAN MEDIAN | MODE
---------- | --------------- --------------- --------------- | ---------------
==================== Device D2D Seek Information ====================
DEV | NSEEKS MEAN MEDIAN | MODE
---------- | --------------- --------------- --------------- | ---------------
==================== Plug Information ====================
DEV | # Plugs # Timer Us | % Time Q Plugged
---------- | ---------- ---------- | ----------------
DEV | IOs/Unp IOs/Unp(to)
---------- | ---------- ----------
==================== Active Requests At Q Information ====================
DEV | Avg Reqs @ Q
---------- | -------------
==================== I/O Active Period Information ====================
DEV | # Live Avg. Act Avg. !Act % Live
---------- | ---------- ------------- ------------- ------
---------- | ---------- ------------- ------------- ------
Total Sys | 0 0.000000000 0.000000000 0.00
我btt
和许多人一样奔跑例子.输入文件parse.bin
包含有效数据。
那么为什么不btt
打印任何数据?