public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ondrej Mosnacek <omosnace@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: kernel/synflood: compress perf.data before uploading
Date: Fri, 11 Sep 2026 13:18:42 GMT [thread overview]
Message-ID: <178913272285.1.16547288615332419973.tests-selinux-7ee186fe44f1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 7ee186fe44f10ac34f9aea8e919c134116547f63
Author : Ondrej Mosnacek <omosnace@redhat.com>
Date : 2021-01-19T13:20:40+01:00
Stats : +4/-2 in 3 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/7ee186fe44f10ac34f9aea8e919c134116547f63?branch=pr775-checkpolicy-revdeps
Log:
kernel/synflood: compress perf.data before uploading
The file can get really huge and it compresses well, so it's better to
compress it with xz before doing rlFileSubmit.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
---
diff --git a/kernel/synflood/Makefile b/kernel/synflood/Makefile
index 1c3cfb6..034267c 100644
--- a/kernel/synflood/Makefile
+++ b/kernel/synflood/Makefile
@@ -1,6 +1,6 @@
# Minimal Makefile for standard-test-roles-beakerlib
-R="RhtsRequires: /usr/bin/nc /usr/sbin/hping3 perf git perl-interpreter perl-open"
+R="RhtsRequires: /usr/bin/nc /usr/sbin/hping3 perf git perl-interpreter perl-open xz"
run:
chmod +x runtest.sh
diff --git a/kernel/synflood/main.fmf b/kernel/synflood/main.fmf
index b1a1e4c..fe38fa4 100644
--- a/kernel/synflood/main.fmf
+++ b/kernel/synflood/main.fmf
@@ -14,6 +14,7 @@ require:
- git
- perl-interpreter
- perl-open
+- xz
recommend:
- /usr/sbin/hping3
duration: 20m
diff --git a/kernel/synflood/runtest.sh b/kernel/synflood/runtest.sh
index c776809..e01b1a4 100755
--- a/kernel/synflood/runtest.sh
+++ b/kernel/synflood/runtest.sh
@@ -51,8 +51,9 @@ else
rlPhaseStartCleanup
rlRun "perf script -i perf.data | $FG_DIR/stackcollapse-perf.pl | $FG_DIR/flamegraph.pl > flamegraph.svg"
+ rlRun "xz -T0 perf.data"
- rlFileSubmit "perf.data"
+ rlFileSubmit "perf.data.xz"
rlFileSubmit "flamegraph.svg"
rlPhaseEnd
fi
reply other threads:[~2026-09-11 13:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178913272285.1.16547288615332419973.tests-selinux-7ee186fe44f1@fedoraproject.org \
--to=omosnace@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox