Commit 5f7c8294 authored by Andreas Stührk's avatar Andreas Stührk Committed by yonghong-song

Fix tools/syscount -l (#2180)

In #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.
parent 10c8bd33
...@@ -17,7 +17,7 @@ import sys ...@@ -17,7 +17,7 @@ import sys
import signal import signal
from bcc import BPF from bcc import BPF
from bcc.utils import printb from bcc.utils import printb
from bcc.syscall import syscall_name from bcc.syscall import syscall_name, syscalls
if sys.version_info.major < 3: if sys.version_info.major < 3:
izip_longest = itertools.izip_longest izip_longest = itertools.izip_longest
......
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