diff options
author | Chunyan Zhang <zhang.chunyan@linaro.org> | 2016-11-21 10:57:19 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-11-23 01:47:48 +0300 |
commit | 262e1f6e39143c2a0f559e2fb4a835069a7693a9 (patch) | |
tree | 933c82966d0aa045689eb1f9e0005b0fc6a9ac7c /drivers/hwtracing/stm/Makefile | |
parent | 478409dd683db76cbcfe7bf8332a37f01deb0a2d (diff) | |
download | linux-262e1f6e39143c2a0f559e2fb4a835069a7693a9.tar.xz |
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/Makefile | 2 |
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 |