mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
8e264c52e1
Enhance coresight developer's efficiency to debug coresight drivers. - Kconfig becomes a tristate, to allow =m - append -core to source file name to allow module to be called coresight by the Makefile - modules can have only one init/exit, so we add the etm_perf register/unregister function calls to the core init/exit functions. - add a MODULE_DEVICE_TABLE for autoloading on boot Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Leo Yan <leo.yan@linaro.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Suzuki K Poulose <Suzuki.Poulose@arm.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Russell King <linux@armlinux.org.uk> Tested-by: Mike Leach <mike.leach@linaro.org> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Kim Phillips <kim.phillips@arm.com> Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20200928163513.70169-25-mathieu.poirier@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
1.1 KiB
Makefile
25 lines
1.1 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
|
|
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
|
|
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
|
|
coresight-cti-y := coresight-cti-core.o coresight-cti-platform.o \
|
|
coresight-cti-sysfs.o
|