mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
FROMLIST: stm class: ftrace: enable supported trace export flag
Set flags for trace_export. Export function trace, event trace and trace marker to stm. Bug: 160464759 Link: https://lore.kernel.org/patchwork/cover/1280618/ Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org> Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Change-Id: Ia4ce8e860372e9149e9763f2fb07f18d6b7e56a6
This commit is contained in:
parent
b0b6463bb2
commit
651e59845c
|
|
@ -46,6 +46,8 @@ static int stm_ftrace_link(struct stm_source_data *data)
|
|||
struct stm_ftrace *sf = container_of(data, struct stm_ftrace, data);
|
||||
|
||||
sf->ftrace.write = stm_ftrace_write;
|
||||
sf->ftrace.flags = TRACE_EXPORT_FUNCTION | TRACE_EXPORT_EVENT
|
||||
| TRACE_EXPORT_MARKER;
|
||||
|
||||
return register_ftrace_export(&sf->ftrace);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user