summaryrefslogtreecommitdiff
path: root/include/linux/trace.h
diff options
context:
space:
mode:
authorTingwei Zhang <tingwei@codeaurora.org>2020-10-05 10:13:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-05 12:43:53 +0200
commit458999c6f67b0ffcc704a4892041dd700adf7d83 (patch)
treecd569e5c35d4b39779d2840d4a7b88ae3b4bd14a /include/linux/trace.h
parent8ab7a2b7055c88c3da5e4684dfa015c6a8987c28 (diff)
tracing: Add trace_export support for trace_marker
Add the support to route trace_marker buffer to other destination via trace_export. Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Reviewed-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Link: https://lore.kernel.org/r/20201005071319.78508-5-alexander.shishkin@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/trace.h')
-rw-r--r--include/linux/trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/trace.h b/include/linux/trace.h
index 86033d214972..886a4ffd9d45 100644
--- a/include/linux/trace.h
+++ b/include/linux/trace.h
@@ -6,6 +6,7 @@
#define TRACE_EXPORT_FUNCTION BIT(0)
#define TRACE_EXPORT_EVENT BIT(1)
+#define TRACE_EXPORT_MARKER BIT(2)
/*
* The trace export - an export of Ftrace output. The trace_export