Skip to content

Commit

Permalink
type error
Browse files Browse the repository at this point in the history
  • Loading branch information
201341 authored and yonghong-song committed Apr 30, 2019
1 parent 912d357 commit 21f2463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dbslower.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def print_event(cpu, data, size):
event = bpf["events"].event(data)
print("%-14.6f %-6d %8.3f %s" % (
float(event.timestamp - start) / 1000000000,
event.pid, float(event.delta) / 1000000, event.query))
event.pid, float(event.duration) / 1000000, event.query))

if mode.startswith("MYSQL"):
print("Tracing database queries for application %s slower than %d ms..." %
Expand Down

0 comments on commit 21f2463

Please sign in to comment.