public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] main: kernel/avc_tracepoint: fix to work on AWS Graviton3 CPUs
@ 2026-08-10 12:22 Ondrej Mosnacek
0 siblings, 0 replies; only message in thread
From: Ondrej Mosnacek @ 2026-08-10 12:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : main
Commit : e7ec6c814805663203a45a0431e9ed8f9679e778
Author : Ondrej Mosnacek <omosnace@redhat.com>
Date : 2026-08-10T12:04:35+02:00
Stats : +1/-2 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/e7ec6c814805663203a45a0431e9ed8f9679e778?branch=main
Log:
kernel/avc_tracepoint: fix to work on AWS Graviton3 CPUs
The --call-graph dwarf argument requires hardware fetures that may not
be implemented on some platforms (e.g. aarch64 AWS Graviton3 CPUs). Use
just plain -g instead, which will hopefully work anywhere. The stack
trace doesn't really matter that much anyway, as we are just testing
that the tracepoint is available and working.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
---
diff --git a/kernel/avc_tracepoint/runtest.sh b/kernel/avc_tracepoint/runtest.sh
index d5f292f..2700548 100755
--- a/kernel/avc_tracepoint/runtest.sh
+++ b/kernel/avc_tracepoint/runtest.sh
@@ -15,8 +15,7 @@ rlJournalStart
rlPhaseStartTest
rlAssertExists /sys/kernel/tracing/events/avc/selinux_audited/enable
rlRun "perf list | grep avc:selinux_audited"
- rlRun "perf record -o perf.data -e avc:selinux_audited \
- -g --call-graph dwarf \
+ rlRun "perf record -o perf.data -e avc:selinux_audited -g \
runcon system_u:system_r:kernel_t:s0 echo" 0-255
rlRun "perf script -i perf.data"
rlAssertGreater "'perf script' output should have more than 0 lines" \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 12:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 12:22 [tests/selinux] main: kernel/avc_tracepoint: fix to work on AWS Graviton3 CPUs Ondrej Mosnacek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox