commit | d3ceae0070470f0deec0bca5be51df4ebfe057d1 | [log] [tgz] |
---|---|---|
author | Zdravko Bozakov <bozakov@users.noreply.github.com> | Tue Sep 28 22:45:17 2021 +0200 |
committer | yonghong-song <ys114321@gmail.com> | Tue Sep 28 23:12:49 2021 -0700 |
tree | 2302a299e958ec4dda097e246353f8475f4c520c | |
parent | e12ec044f5d9f78c17075304299e3942416dd3de [diff] [blame] |
Update tcpv4connect.py fix byte string comparison so we can run with python3
diff --git a/examples/tracing/tcpv4connect.py b/examples/tracing/tcpv4connect.py index 26d9376..40963cf 100755 --- a/examples/tracing/tcpv4connect.py +++ b/examples/tracing/tcpv4connect.py
@@ -98,7 +98,7 @@ exit() # Ignore messages from other tracers - if _tag != "trace_tcp4connect": + if _tag.decode() != "trace_tcp4connect": continue printb(b"%-6d %-12.12s %-16s %-16s %-4s" % (pid, task,