Commit 3a45935a authored by Gary Lin's avatar Gary Lin

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: default avatarGary Lin <glin@suse.com>
parent 76bec4d5
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment