1# SPDX-License-Identifier: GPL-2.0 2 3perf-y += builtin-test.o 4perf-y += builtin-test-list.o 5perf-y += parse-events.o 6perf-y += dso-data.o 7perf-y += attr.o 8perf-y += vmlinux-kallsyms.o 9perf-$(CONFIG_LIBTRACEEVENT) += openat-syscall.o 10perf-$(CONFIG_LIBTRACEEVENT) += openat-syscall-all-cpus.o 11perf-$(CONFIG_LIBTRACEEVENT) += openat-syscall-tp-fields.o 12perf-$(CONFIG_LIBTRACEEVENT) += mmap-basic.o 13perf-y += perf-record.o 14perf-y += evsel-roundtrip-name.o 15perf-$(CONFIG_LIBTRACEEVENT) += evsel-tp-sched.o 16perf-y += fdarray.o 17perf-y += pmu.o 18perf-y += pmu-events.o 19perf-y += hists_common.o 20perf-y += hists_link.o 21perf-y += hists_filter.o 22perf-y += hists_output.o 23perf-y += hists_cumulate.o 24perf-y += python-use.o 25perf-y += bp_signal.o 26perf-y += bp_signal_overflow.o 27perf-y += bp_account.o 28perf-y += wp.o 29perf-y += task-exit.o 30perf-y += sw-clock.o 31perf-y += mmap-thread-lookup.o 32perf-y += thread-maps-share.o 33perf-$(CONFIG_LIBTRACEEVENT) += switch-tracking.o 34perf-y += keep-tracking.o 35perf-y += code-reading.o 36perf-y += sample-parsing.o 37perf-y += parse-no-sample-id-all.o 38perf-y += kmod-path.o 39perf-y += thread-map.o 40perf-y += topology.o 41perf-y += mem.o 42perf-y += cpumap.o 43perf-y += stat.o 44perf-y += event_update.o 45perf-y += event-times.o 46perf-y += expr.o 47perf-y += backward-ring-buffer.o 48perf-y += sdt.o 49perf-y += is_printable_array.o 50perf-y += bitmap.o 51perf-y += perf-hooks.o 52perf-y += unit_number__scnprintf.o 53perf-y += mem2node.o 54perf-y += maps.o 55perf-y += time-utils-test.o 56perf-y += genelf.o 57perf-y += api-io.o 58perf-y += demangle-java-test.o 59perf-y += demangle-ocaml-test.o 60perf-y += pfm.o 61perf-y += parse-metric.o 62perf-y += pe-file-parsing.o 63perf-y += expand-cgroup.o 64perf-y += perf-time-to-tsc.o 65perf-y += dlfilter-test.o 66perf-y += sigtrap.o 67perf-y += event_groups.o 68perf-y += symbols.o 69 70ifeq ($(SRCARCH),$(filter $(SRCARCH),x86 arm arm64 powerpc)) 71perf-$(CONFIG_DWARF_UNWIND) += dwarf-unwind.o 72endif 73 74CFLAGS_attr.o += -DBINDIR="BUILD_STR($(bindir_SQ))" -DPYTHON="BUILD_STR($(PYTHON_WORD))" 75CFLAGS_python-use.o += -DPYTHONPATH="BUILD_STR($(OUTPUT)python)" -DPYTHON="BUILD_STR($(PYTHON_WORD))" 76CFLAGS_dwarf-unwind.o += -fno-optimize-sibling-calls 77 78perf-y += workloads/ 79