Skip to content

Commit

Permalink
Fix tools/syscount -l (iovisor#2180)
Browse files Browse the repository at this point in the history
In iovisor#2063, syscount's syscall mapping was moved into its own module.
Unfortunately, that broke the "print list of recognized syscalls and
exit" usage of syscount. Fix it by importing the syscall mapping from
the new module.
  • Loading branch information
Trundle authored and yonghong-song committed Feb 3, 2019
1 parent 10c8bd3 commit 5f7c829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/syscount.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import signal
from bcc import BPF
from bcc.utils import printb
from bcc.syscall import syscall_name
from bcc.syscall import syscall_name, syscalls

if sys.version_info.major < 3:
izip_longest = itertools.izip_longest
Expand Down

0 comments on commit 5f7c829

Please sign in to comment.