Skip to content
Snippets Groups Projects
Commit 21f24631 authored by swj's avatar swj Committed by yonghong-song
Browse files

type error

parent 912d3571
No related branches found
No related tags found
No related merge requests found
......@@ -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..." %
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment