Skip to content

Commit

Permalink
tools/syscount: convert syscall and process names to bytes array
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
lcp committed Apr 2, 2018
1 parent 76bec4d commit 3a45935
Showing 1 changed file with 324 additions and 323 deletions.
Loading

0 comments on commit 3a45935

Please sign in to comment.