summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJames Clark <james.clark@linaro.org>2026-06-11 14:13:46 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-06-12 03:14:30 +0300
commit904708945c07b2b27558b6ffe8923b3df99448f4 (patch)
tree4ab5198530978b9b1929dc99fc142a5b4719ebc2 /scripts
parent9e3fcab6fbecebbcffeafeb5db612a57688cb7f4 (diff)
downloadlinux-904708945c07b2b27558b6ffe8923b3df99448f4.tar.xz
perf test: Compile named_threads workload with -O0
The work loop relies on the compiler not optimizing it away, although named_threads_work is not static for that reason, the compiler could still do it. Fix it by compiling without optimization. Also add -fno-inline for consistency and in case anyone wants to look at callstacks. Fixes: b5dd510be55e8670 ("perf test: Add named_threads workload") Closes: https://lore.kernel.org/all/20260609160001.2739E1F00893@smtp.kernel.org Reported-by: sashiko-bot <sashiko-bot@kernel.org> Reviewed-by: Leo Yan <leo.yan@arm.com> Signed-off-by: James Clark <james.clark@linaro.org> Cc: Ian Rogers <irogers@google.com> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions