mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
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>
|
||
|---|---|---|
| .. | ||
| brstack.c | ||
| Build | ||
| code_with_type.c | ||
| code_with_type.rs | ||
| context_switch_loop.c | ||
| datasym.c | ||
| deterministic.c | ||
| inlineloop.c | ||
| jitdump.c | ||
| landlock.c | ||
| leafloop.c | ||
| named_threads.c | ||
| noploop.c | ||
| sqrtloop.c | ||
| thloop.c | ||
| traploop.c | ||