Hi, when I wanted to export your bash tool to trace I/O events into a Python program, I found a little bug.
tmux: server-421224 [000] ..s. 828844.906117: block_rq_complete: 8,0 W () 18471784 + 8 [0] (awk variable dev = block_rq_complete:)
tmux: server-421224 [000] ..s. 828844.906210: block_rq_complete: 8,0 W () 18471832 + 8 [0] (awk variable dev = block_rq_complete:)
tmux: server-421224 [000] ..s. 828844.906217: block_rq_complete: 8,0 W () 18471888 + 24 [0] (awk variable dev = block_rq_complete:)
tmux: server-421224 [000] ..s. 828844.906288: block_rq_complete: 8,0 W () 18471920 + 16 [0] (awk variable dev = block_rq_complete:)
tmux: server-421224 [000] ..s. 828844.906489: block_rq_complete: 8,0 W () 18471968 + 8 [0] (awk variable dev = block_rq_complete:)
...
In this case, tmux with tmux: server-... add a new separator with space in awk, then the "dev" variable is false. Btw, the program don't crash and prints :
Hi, when I wanted to export your bash tool to trace I/O events into a Python program, I found a little bug.
In this case, tmux with
tmux: server-...
add a new separator with space in awk, then the "dev" variable is false. Btw, the program don't crash and prints :How does the tool react ? What is the purpose of the "dev" variable ?