X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=tools%2Fperf%2Ftests%2Fshell%2Frecord%2Bzstd_comp_decomp.sh;h=045723b3d9928f7e25acfee6ed63e9d6b8588931;hb=463538a383a27337cb83ae195e432a839a52d639;hp=63a91ec473bb50d0cac40bfb6f2701c06852a8e5;hpb=1913c7f3fc2514e09262baf2267a82dfdb215c39;p=linux-2.6-microblaze.git diff --git a/tools/perf/tests/shell/record+zstd_comp_decomp.sh b/tools/perf/tests/shell/record+zstd_comp_decomp.sh index 63a91ec473bb..045723b3d992 100755 --- a/tools/perf/tests/shell/record+zstd_comp_decomp.sh +++ b/tools/perf/tests/shell/record+zstd_comp_decomp.sh @@ -12,7 +12,8 @@ skip_if_no_z_record() { collect_z_record() { echo "Collecting compressed record file:" - $perf_tool record -o $trace_file -g -z -F 5000 -- \ + [[ "$(uname -m)" != s390x ]] && gflag='-g' + $perf_tool record -o $trace_file $gflag -z -F 5000 -- \ dd count=500 if=/dev/urandom of=/dev/null }