xref: /linux/tools/perf/tests/workloads/Build (revision 904708945c07b2b27558b6ffe8923b3df99448f4)
1# SPDX-License-Identifier: GPL-2.0
2
3perf-test-y += noploop.o
4perf-test-y += thloop.o
5perf-test-y += named_threads.o
6perf-test-y += leafloop.o
7perf-test-y += sqrtloop.o
8perf-test-y += brstack.o
9perf-test-y += datasym.o
10perf-test-y += landlock.o
11perf-test-y += traploop.o
12perf-test-y += inlineloop.o
13perf-test-y += jitdump.o
14perf-test-y += context_switch_loop.o
15perf-test-y += deterministic.o
16
17ifeq ($(CONFIG_RUST_SUPPORT),y)
18    perf-test-y += code_with_type.o
19    perf-test-y += code_with_type.a
20endif
21
22CFLAGS_sqrtloop.o         = -g -O0 -fno-inline -U_FORTIFY_SOURCE
23CFLAGS_leafloop.o         = -g -O0 -fno-inline -fno-omit-frame-pointer -U_FORTIFY_SOURCE
24CFLAGS_brstack.o          = -g -O0 -fno-inline -U_FORTIFY_SOURCE
25CFLAGS_datasym.o          = -g -O0 -fno-inline -U_FORTIFY_SOURCE
26CFLAGS_traploop.o         = -g -O0 -fno-inline -U_FORTIFY_SOURCE
27CFLAGS_inlineloop.o       = -g -O2
28CFLAGS_deterministic.o    = -g -O0 -fno-inline -U_FORTIFY_SOURCE
29CFLAGS_named_threads.o    = -g -O0 -fno-inline -U_FORTIFY_SOURCE
30