]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/linux/trace.h
6 * The trace export - an export of Ftrace output. The trace_export
7 * can process traces and export them to a registered destination as
8 * an addition to the current only output of Ftrace - i.e. ring buffer.
10 * If you want traces to be sent to some other place rather than ring
11 * buffer only, just need to register a new trace_export and implement
12 * its own .write() function for writing traces to the storage.
14 * next - pointer to the next trace_export
15 * write - copy traces which have been delt with ->commit() to
19 struct trace_export __rcu
*next
;
20 void (*write
)(const void *, unsigned int);
23 int register_ftrace_export(struct trace_export
*export
);
24 int unregister_ftrace_export(struct trace_export
*export
);
26 #endif /* CONFIG_TRACING */
28 #endif /* _LINUX_TRACE_H */