Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since its conversion to printb, solisten has suffers from yet another python2/3 bytes/str issue: Traceback (most recent call last): File "_ctypes/callbacks.c", line 234, in 'calling callback function' File "/usr/lib/python3.6/site-packages/bcc/table.py", line 581, in raw_cb_ callback(cpu, data, size) File "/usr/share/bcc/tools/solisten", line 176, in print_event event.lport, address, TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str' This patch fix the issue on python3. The tools still works on python2.
- Loading branch information