Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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'.

Signed-off-by: Wei Li <liwei391@huawei.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Li Bin <huawei.libin@huawei.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230815131805.1237491-1-liwei391@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Wei Li and committed by
Arnaldo Carvalho de Melo
41a37430 708a3e8b

+3 -3
+3 -3
tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
··· 74 74 except: 75 75 if not audit_package_warned: 76 76 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)" 80 80 "\n etc.\n") 81 81 82 82 def syscall_name(id):