|
@@ -78,6 +78,11 @@ struct trace_iterator {
|
|
/* trace_seq for __print_flags() and __print_symbolic() etc. */
|
|
/* trace_seq for __print_flags() and __print_symbolic() etc. */
|
|
struct trace_seq tmp_seq;
|
|
struct trace_seq tmp_seq;
|
|
|
|
|
|
|
|
+ cpumask_var_t started;
|
|
|
|
+
|
|
|
|
+ /* it's true when current open file is snapshot */
|
|
|
|
+ bool snapshot;
|
|
|
|
+
|
|
/* The below is zeroed out in pipe_read */
|
|
/* The below is zeroed out in pipe_read */
|
|
struct trace_seq seq;
|
|
struct trace_seq seq;
|
|
struct trace_entry *ent;
|
|
struct trace_entry *ent;
|
|
@@ -90,10 +95,7 @@ struct trace_iterator {
|
|
loff_t pos;
|
|
loff_t pos;
|
|
long idx;
|
|
long idx;
|
|
|
|
|
|
- cpumask_var_t started;
|
|
|
|
-
|
|
|
|
- /* it's true when current open file is snapshot */
|
|
|
|
- bool snapshot;
|
|
|
|
|
|
+ /* All new field here will be zeroed out in pipe_read */
|
|
};
|
|
};
|
|
|
|
|
|
enum trace_iter_flags {
|
|
enum trace_iter_flags {
|