tools/syscount: convert syscall and process names to bytes array
subprocess.check_output() returns a bytes array in python3 while it
returns str in python2. To improve the compatibility, convert the
related fields to bytes arrays and print them with printb().
Signed-off-by: Gary Lin <glin@suse.com>
Showing
This diff is collapsed.
Please register or sign in to comment