aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/stm/Makefile
diff options
context:
space:
mode:
authorChunyan Zhang <zhang.chunyan@linaro.org>2016-11-21 15:57:19 +0800
committerSteven Rostedt <rostedt@goodmis.org>2016-11-22 17:47:48 -0500
commit262e1f6e39143c2a0f559e2fb4a835069a7693a9 (patch)
tree933c82966d0aa045689eb1f9e0005b0fc6a9ac7c /drivers/hwtracing/stm/Makefile
parenttracing: Add hook to function tracing for other subsystems to use (diff)
downloadlinux-dev-262e1f6e39143c2a0f559e2fb4a835069a7693a9.tar.xz
linux-dev-262e1f6e39143c2a0f559e2fb4a835069a7693a9.zip
stm class: ftrace: Add ftrace-export-over-stm driver
This patch adds a driver that models itself as an stm_source called stm_ftrace. Once the stm device and stm_ftrace have been linked via sysfs, the driver registers itself as a trace_export and everything passed to the interface from Ftrace subsystem will end up in the STM trace engine. Link: http://lkml.kernel.org/r/1479715043-6534-3-git-send-email-zhang.chunyan@linaro.org Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org> Acked-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/hwtracing/stm/Makefile')
-rw-r--r--drivers/hwtracing/stm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwtracing/stm/Makefile b/drivers/hwtracing/stm/Makefile
index a9ce3d487e57..3abd84ce13d4 100644
--- a/drivers/hwtracing/stm/Makefile
+++ b/drivers/hwtracing/stm/Makefile
@@ -6,6 +6,8 @@ obj-$(CONFIG_STM_DUMMY) += dummy_stm.o
obj-$(CONFIG_STM_SOURCE_CONSOLE) += stm_console.o
obj-$(CONFIG_STM_SOURCE_HEARTBEAT) += stm_heartbeat.o
+obj-$(CONFIG_STM_SOURCE_FTRACE) += stm_ftrace.o
stm_console-y := console.o
stm_heartbeat-y := heartbeat.o
+stm_ftrace-y := ftrace.o