'audit-libs-python' is the package for python2, update it for python3. On Ubuntu and Fedora, the new package is 'python3-audit'.
Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all
Unified · Split
| @@ -74,9 +74,9 @@ try: · 73 unmodified lines | |||
| 74 | except: | 74 | except: |
| 75 | if not audit_package_warned: | 75 | if not audit_package_warned: |
| 76 | audit_package_warned = True | 76 | audit_package_warned = True |
| 77 | print("Install the audit-libs-python package to get syscall names.\n" | 77 | print("Install the python-audit package to get syscall names.\n" |
| 78 | "For example:\n # apt-get install python-audit (Ubuntu)" | 78 | "For example:\n # apt-get install python3-audit (Ubuntu)" |
| 79 | "\n # yum install audit-libs-python (Fedora)" | 79 | "\n # yum install python3-audit (Fedora)" |
| 80 | "\n etc.\n") | 80 | "\n etc.\n") |
| 81 | 81 | ||
| 82 | def syscall_name(id): | 82 | def syscall_name(id): |