xref: /linux/tools/perf/tests/workloads/Build (revision 473f6c8f437b049f8ec015d57cd59bb983b1d85c)
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
16perf-test-y += callchain.o
17
18ifeq ($(CONFIG_RUST_SUPPORT),y)
19    perf-test-y += code_with_type.o
20    perf-test-y += code_with_type.a
21endif
22
23CFLAGS_sqrtloop.o         = -g -O0 -fno-inline -U_FORTIFY_SOURCE
24CFLAGS_leafloop.o         = -g -O0 -fno-inline -fno-omit-frame-pointer -U_FORTIFY_SOURCE
25CFLAGS_brstack.o          = -g -O0 -fno-inline -U_FORTIFY_SOURCE
26CFLAGS_datasym.o          = -g -O0 -fno-inline -U_FORTIFY_SOURCE
27CFLAGS_traploop.o         = -g -O0 -fno-inline -U_FORTIFY_SOURCE
28CFLAGS_inlineloop.o       = -g -O2
29CFLAGS_deterministic.o    = -g -O0 -fno-inline -U_FORTIFY_SOURCE
30CFLAGS_named_threads.o    = -g -O0 -fno-inline -U_FORTIFY_SOURCE
31CFLAGS_callchain.o        = -g -O0 -fno-inline -U_FORTIFY_SOURCE
32