commit | 21f24631a28cb308aaa76524b0df34e8f2acb097 | [log] [tgz] |
---|---|---|
author | swj <1186093704@qq.com> | Tue Apr 30 20:34:45 2019 +0800 |
committer | yonghong-song <ys114321@gmail.com> | Tue Apr 30 10:21:48 2019 -0700 |
tree | b017e045aeb728fd94c6034a56282c447379367b | |
parent | 912d3571fc528776ffeaa18b994403f7777f00ba [diff] [blame] |
type error
diff --git a/tools/dbslower.py b/tools/dbslower.py index da2180f..2f1b6a8 100755 --- a/tools/dbslower.py +++ b/tools/dbslower.py
@@ -208,7 +208,7 @@ 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..." %