aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwtracing/stm/ftrace.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-05stm class: ftrace: Use different channel accroding to CPUTingwei Zhang1-1/+4
To avoid mixup of packets from differnt ftrace packets simultaneously, use different channel for packets from different CPU. Reviewed-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Tingwei Zhang <[email protected]> Signed-off-by: Alexander Shishkin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-10-05stm class: ftrace: Enable supported trace export flagTingwei Zhang1-0/+2
Set flags for trace_export. Export function trace, event trace and trace marker to stm. Reviewed-by: Steven Rostedt (VMware) <[email protected]> Reviewed-by: Alexander Shishkin <[email protected]> Signed-off-by: Tingwei Zhang <[email protected]> Signed-off-by: Alexander Shishkin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-05-14coresight: Moving framework and drivers to SPDX identifierMathieu Poirier1-9/+1
Moving all kernel side CoreSight framework and drivers to SPDX identifier. Signed-off-by: Mathieu Poirier <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2017-12-04tracing: Pass export pointer as argument to ->write()Felipe Balbi1-2/+4
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/[email protected] Acked-by: Steven Rostedt (VMware) <[email protected]> Reviewed-by: Chunyan Zhang <[email protected]> Signed-off-by: Felipe Balbi <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
2016-11-22stm class: ftrace: Add ftrace-export-over-stm driverChunyan Zhang1-0/+87
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/[email protected] Signed-off-by: Chunyan Zhang <[email protected]> Acked-by: Alexander Shishkin <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>