Preload set of configurations. This patch creates a small set of preloaded configurations and features that are available immediately after coresight has been initialised. The current set provides a strobing feature for ETMv4, that creates a periodic sampling of trace by switching trace generation on and off using counters in the ETM. A configuration called "autofdo" is also provided that uses the 'strobing' feature and provides a couple of preset values, selectable on the perf command line. Link: https://lore.kernel.org/r/20210723165444.1048-9-mike.leach@linaro.org Signed-off-by: Mike Leach <mike.leach@linaro.org> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20210818194022.379573-9-mathieu.poirier@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 lines
1.3 KiB
Makefile
29 lines
1.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for CoreSight drivers.
|
|
#
|
|
obj-$(CONFIG_CORESIGHT) += coresight.o
|
|
coresight-y := coresight-core.o coresight-etm-perf.o coresight-platform.o \
|
|
coresight-sysfs.o coresight-syscfg.o coresight-config.o \
|
|
coresight-cfg-preload.o coresight-cfg-afdo.o
|
|
obj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o
|
|
coresight-tmc-y := coresight-tmc-core.o coresight-tmc-etf.o \
|
|
coresight-tmc-etr.o
|
|
obj-$(CONFIG_CORESIGHT_SINK_TPIU) += coresight-tpiu.o
|
|
obj-$(CONFIG_CORESIGHT_SINK_ETBV10) += coresight-etb10.o
|
|
obj-$(CONFIG_CORESIGHT_LINKS_AND_SINKS) += coresight-funnel.o \
|
|
coresight-replicator.o
|
|
obj-$(CONFIG_CORESIGHT_SOURCE_ETM3X) += coresight-etm3x.o
|
|
coresight-etm3x-y := coresight-etm3x-core.o coresight-etm-cp14.o \
|
|
coresight-etm3x-sysfs.o
|
|
obj-$(CONFIG_CORESIGHT_SOURCE_ETM4X) += coresight-etm4x.o
|
|
coresight-etm4x-y := coresight-etm4x-core.o coresight-etm4x-sysfs.o \
|
|
coresight-etm4x-cfg.o
|
|
obj-$(CONFIG_CORESIGHT_STM) += coresight-stm.o
|
|
obj-$(CONFIG_CORESIGHT_CPU_DEBUG) += coresight-cpu-debug.o
|
|
obj-$(CONFIG_CORESIGHT_CATU) += coresight-catu.o
|
|
obj-$(CONFIG_CORESIGHT_CTI) += coresight-cti.o
|
|
obj-$(CONFIG_CORESIGHT_TRBE) += coresight-trbe.o
|
|
coresight-cti-y := coresight-cti-core.o coresight-cti-platform.o \
|
|
coresight-cti-sysfs.o
|