perf scripts python: Update package name for python3
PATCH 1/1 perf scripts python: Update 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'.
Signed-off-by Wei Li <[email protected]>
--- .../scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py +3 -3
@@ -73,9 +73,9 @@ try: except: if not audit_package_warned: audit_package_warned = True - print("Install the audit-libs-python package to get syscall names.\n" - "For example:\n # apt-get install python-audit (Ubuntu)" - "\n # yum install audit-libs-python (Fedora)" + print("Install the python-audit package to get syscall names.\n" + "For example:\n # apt-get install python3-audit (Ubuntu)" + "\n # yum install python3-audit (Fedora)" "\n etc.\n") def syscall_name(id):
Signature · 1 line
2.25.1
Em Tue, Aug 15, 2023 at 09:18:05PM +0800, Wei Li escreveu:
Quoted 2 lines
'audit-libs-python' is the package for python2, update it for python3. On Ubuntu and Fedora, the new package is 'python3-audit'.
Thanks, applied.
- Arnaldo
Quoted 25 lines
Signed-off-by Wei Li <[email protected]>--- .../scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py +3
-3@@ -73,9 +73,9 @@ try: except: if not audit_package_warned: audit_package_warned = True - print("Install the audit-libs-python package to get syscall names.\n" - "For example:\n # apt-get install python-audit (Ubuntu)" - "\n # yum install audit-libs-python (Fedora)" + print("Install the python-audit package to get syscall names.\n" + "For example:\n # apt-get install python3-audit (Ubuntu)" + "\n # yum install python3-audit (Fedora)" "\n etc.\n") def syscall_name(id):Signature · 1 line
2.25.1
Signature · 1 line
- Arnaldo