summaryrefslogtreecommitdiff
path: root/tools/perf/tests/workloads/Build
blob: 7bb4b9829ba245740c8967e6bf3235614cdd55a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-License-Identifier: GPL-2.0

perf-test-y += noploop.o
perf-test-y += thloop.o
perf-test-y += named_threads.o
perf-test-y += leafloop.o
perf-test-y += sqrtloop.o
perf-test-y += brstack.o
perf-test-y += datasym.o
perf-test-y += landlock.o
perf-test-y += traploop.o
perf-test-y += inlineloop.o
perf-test-y += jitdump.o
perf-test-y += context_switch_loop.o
perf-test-y += deterministic.o

ifeq ($(CONFIG_RUST_SUPPORT),y)
    perf-test-y += code_with_type.o
    perf-test-y += code_with_type.a
endif

CFLAGS_sqrtloop.o         = -g -O0 -fno-inline -U_FORTIFY_SOURCE
CFLAGS_leafloop.o         = -g -O0 -fno-inline -fno-omit-frame-pointer -U_FORTIFY_SOURCE
CFLAGS_brstack.o          = -g -O0 -fno-inline -U_FORTIFY_SOURCE
CFLAGS_datasym.o          = -g -O0 -fno-inline -U_FORTIFY_SOURCE
CFLAGS_traploop.o         = -g -O0 -fno-inline -U_FORTIFY_SOURCE
CFLAGS_inlineloop.o       = -g -O2
CFLAGS_deterministic.o    = -g -O0 -fno-inline -U_FORTIFY_SOURCE
CFLAGS_named_threads.o    = -g -O0 -fno-inline -U_FORTIFY_SOURCE