* [PATCH] perf scripts python: Update package name for python3
@ 2023-08-15 13:18 Wei Li
2023-08-15 17:50 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 2+ messages in thread
From: Wei Li @ 2023-08-15 13:18 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
Ian Rogers, Adrian Hunter
Cc: Wei Li, linux-perf-users, huawei.libin
'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 <liwei391@huawei.com>
---
.../scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py b/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
index 7384dcb628c4..84536b1a27ba 100644
--- a/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
+++ b/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
@@ -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):
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] perf scripts python: Update package name for python3
2023-08-15 13:18 [PATCH] perf scripts python: Update package name for python3 Wei Li
@ 2023-08-15 17:50 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2023-08-15 17:50 UTC (permalink / raw)
To: Wei Li
Cc: Peter Zijlstra, Ingo Molnar, Mark Rutland, Alexander Shishkin,
Jiri Olsa, Namhyung Kim, Ian Rogers, Adrian Hunter,
linux-perf-users, huawei.libin
Em Tue, Aug 15, 2023 at 09:18:05PM +0800, Wei Li escreveu:
> '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
> Signed-off-by: Wei Li <liwei391@huawei.com>
> ---
> .../scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py b/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
> index 7384dcb628c4..84536b1a27ba 100644
> --- a/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
> +++ b/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
> @@ -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):
> --
> 2.25.1
>
--
- Arnaldo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-15 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-15 13:18 [PATCH] perf scripts python: Update package name for python3 Wei Li
2023-08-15 17:50 ` Arnaldo Carvalho de Melo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.