Skip to content

Commit

Permalink
perf scripts python: Update audit-libs package name for python3
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
Wei Li authored and Arnaldo Carvalho de Melo committed Aug 15, 2023
1 parent 708a3e8 commit 41a3743
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def clear_term():
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):
Expand Down

0 comments on commit 41a3743

Please sign in to comment.