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