mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
262e1f6e39
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>
14 lines
345 B
Makefile
14 lines
345 B
Makefile
obj-$(CONFIG_STM) += stm_core.o
|
|
|
|
stm_core-y := core.o policy.o
|
|
|
|
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
|