aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ftrace_event.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h
index bae51ddfabd3..4b58cf1a11c2 100644
--- a/include/linux/ftrace_event.h
+++ b/include/linux/ftrace_event.h
@@ -3,12 +3,23 @@
3 3
4#include <linux/trace_seq.h> 4#include <linux/trace_seq.h>
5#include <linux/ring_buffer.h> 5#include <linux/ring_buffer.h>
6 6#include <linux/percpu.h>
7 7
8struct trace_array; 8struct trace_array;
9struct tracer; 9struct tracer;
10struct dentry; 10struct dentry;
11 11
12DECLARE_PER_CPU(struct trace_seq, ftrace_event_seq);
13
14struct trace_print_flags {
15 unsigned long mask;
16 const char *name;
17};
18
19const char *ftrace_print_flags_seq(struct trace_seq *p, const char *delim,
20 unsigned long flags,
21 const struct trace_print_flags *flag_array);
22
12/* 23/*
13 * The trace entry - the most basic unit of tracing. This is what 24 * The trace entry - the most basic unit of tracing. This is what
14 * is printed in the end as a single line in the trace output, such as: 25 * is printed in the end as a single line in the trace output, such as: