summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorMike Leach <mike.leach@linaro.org>2021-11-24 21:00:36 +0100
committerMathieu Poirier <mathieu.poirier@linaro.org>2021-11-26 19:34:07 +0100
commitede5bab874f535355ccee5514383941b9525c03b (patch)
tree9273638395eda53757447b2978cd70a938024a10 /samples/Kconfig
parentcoresight: syscfg: Update load API for config loadable modules (diff)
downloadlinux-ede5bab874f535355ccee5514383941b9525c03b.tar.xz
linux-ede5bab874f535355ccee5514383941b9525c03b.zip
coresight: syscfg: Example CoreSight configuration loadable module
An example of creating a loadable module to add CoreSight configurations into a system. In the Kernel samples/coresight directory. Signed-off-by: Mike Leach <mike.leach@linaro.org> Link: https://lore.kernel.org/r/20211124200038.28662-5-mike.leach@linaro.org Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r--samples/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig
index bec3528aa2de..fe8b56d576ce 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -232,6 +232,15 @@ config SAMPLE_WATCH_QUEUE
Build example userspace program to use the new mount_notify(),
sb_notify() syscalls and the KEYCTL_WATCH_KEY keyctl() function.
+config SAMPLE_CORESIGHT_SYSCFG
+ tristate "Build example loadable module for CoreSight config"
+ depends on CORESIGHT && m
+ help
+ Build an example loadable module that adds new CoreSight features
+ and configuration using the CoreSight system configuration API.
+ This demonstrates how a user may create their own CoreSight
+ configurations and easily load them into the system at runtime.
+
endif # SAMPLES
config HAVE_SAMPLE_FTRACE_DIRECT