linux-sg2042/drivers/hwtracing/stm
Felipe Balbi a773d41927 tracing: Pass export pointer as argument to ->write()
By passing an export descriptor to the write function, users don't need to
keep a global static pointer and can rely on container_of() to fetch their
own structure.

Link: http://lkml.kernel.org/r/20170602102025.5140-1-felipe.balbi@linux.intel.com

Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2017-12-04 07:14:30 -05:00
..
Kconfig stm class: ftrace: Add ftrace-export-over-stm driver 2016-11-22 17:47:48 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
console.c
core.c stm class: Fix a use-after-free 2017-09-22 10:28:00 +02:00
dummy_stm.c stm dummy: Mark dummy_stm_packet() with notrace 2016-11-22 17:48:00 -05:00
ftrace.c tracing: Pass export pointer as argument to ->write() 2017-12-04 07:14:30 -05:00
heartbeat.c stm class: stm_heartbeat: Make nr_devs parameter read-only 2016-04-08 16:11:51 +03:00
policy.c stm class: make config_item_type const 2017-10-19 16:15:30 +02:00
stm.h stm class: Guard output assignment against concurrency 2016-02-20 14:09:14 -08:00