diff options
Diffstat (limited to 'kernel/trace/trace_events.c')
-rw-r--r-- | kernel/trace/trace_events.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index 78b1ed230177..28d92027a93c 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c | |||
@@ -86,7 +86,6 @@ int trace_define_common_fields(struct ftrace_event_call *call) | |||
86 | __common_field(unsigned char, flags); | 86 | __common_field(unsigned char, flags); |
87 | __common_field(unsigned char, preempt_count); | 87 | __common_field(unsigned char, preempt_count); |
88 | __common_field(int, pid); | 88 | __common_field(int, pid); |
89 | __common_field(int, tgid); | ||
90 | 89 | ||
91 | return ret; | 90 | return ret; |
92 | } | 91 | } |
@@ -572,13 +571,11 @@ static int trace_write_header(struct trace_seq *s) | |||
572 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n" | 571 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n" |
573 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n" | 572 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n" |
574 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n" | 573 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n" |
575 | "\tfield:%s %s;\toffset:%zu;\tsize:%zu;\n" | ||
576 | "\n", | 574 | "\n", |
577 | FIELD(unsigned short, type), | 575 | FIELD(unsigned short, type), |
578 | FIELD(unsigned char, flags), | 576 | FIELD(unsigned char, flags), |
579 | FIELD(unsigned char, preempt_count), | 577 | FIELD(unsigned char, preempt_count), |
580 | FIELD(int, pid), | 578 | FIELD(int, pid)); |
581 | FIELD(int, tgid)); | ||
582 | } | 579 | } |
583 | 580 | ||
584 | static ssize_t | 581 | static ssize_t |