Commit 665c5b03 authored by Brendan Gregg's avatar Brendan Gregg

variable name typo

parent 5cbcde20
......@@ -28,4 +28,4 @@ try:
except KeyboardInterrupt:
print
b["dist"].print_log2_hist()
b["dist"].print_log2_hist("kbytes")
......@@ -6,7 +6,7 @@ A summary is printed after Ctrl-C is hit.
# ./bitehist.py
Tracing... Hit Ctrl-C to end.
^C
value : count distribution
kbytes : count distribution
0 -> 1 : 3 | |
2 -> 3 : 0 | |
4 -> 7 : 211 |********** |
......
......@@ -89,7 +89,7 @@ start_ts = 0
# format output
while 1:
(task, pid, cpu, flags, ts, msg) = b.trace_fields()
(filenamp, ret_s) = msg.split(" ")
(filename, ret_s) = msg.split(" ")
ret = int(ret_s)
if (args.failed and (ret >= 0)):
......@@ -106,4 +106,4 @@ while 1:
if start_ts == 0:
start_ts = ts
print("%-14.9f" % (ts - start_ts), end="")
print("%-6d %-16s %4s %3s %s" % (pid, task, fd_s, err, filenamp))
print("%-6d %-16s %4s %3s %s" % (pid, task, fd_s, err, filename))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment