diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-09-11 11:36:23 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-09-11 11:36:23 -0400 |
commit | 48659d31195bb76d688e99dabd816c5472fb1656 (patch) | |
tree | 9d7d7f9ac50a6de1be1bfe28a31ee13e369fc04b /kernel/trace/trace.h | |
parent | 49ff590390a22c49e9063dcdec4cd5903127526b (diff) |
tracing: move tgid out of generic entry and into userstack
The userstack trace required the recording of the tgid entry.
Unfortunately, it was added to the generic entry where it wasted
4 bytes of every entry and was only used by one entry.
This patch moves it out of the generic field and moves it into the
only user (userstack_entry).
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index acaa68060ebc..b69697b4b846 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -101,6 +101,7 @@ struct stack_entry { | |||
101 | 101 | ||
102 | struct userstack_entry { | 102 | struct userstack_entry { |
103 | struct trace_entry ent; | 103 | struct trace_entry ent; |
104 | unsigned int tgid; | ||
104 | unsigned long caller[FTRACE_STACK_ENTRIES]; | 105 | unsigned long caller[FTRACE_STACK_ENTRIES]; |
105 | }; | 106 | }; |
106 | 107 | ||