History

perf scripts python: Update audit-libs package name for python3

'audit-libs-python' is the package for python2, update it for python3. On Ubuntu and Fedora, the new package is 'python3-audit'.

Wei Li committed 3 years ago

Commit 41a37431 parent 708a3e81 file · +3 −3Browse files

Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all

Unified · Split

tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py+3−3
@@ -74,9 +74,9 @@ try: · 73 unmodified lines
7474 except:
7575 if not audit_package_warned:
7676 audit_package_warned = True
77− print("Install the audit-libs-python package to get syscall names.\n"
78− "For example:\n # apt-get install python-audit (Ubuntu)"
79− "\n # yum install audit-libs-python (Fedora)"
77+ print("Install the python-audit package to get syscall names.\n"
78+ "For example:\n # apt-get install python3-audit (Ubuntu)"
79+ "\n # yum install python3-audit (Fedora)"
8080 "\n etc.\n")
8181
8282 def syscall_name(id):