diff options
author | Li Zefan <[email protected]> | 2009-07-16 10:54:02 +0800 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2009-07-20 11:38:44 -0400 |
commit | 7d536cb3fb9993bdcd5a2fbaa6b0670ded4e101c (patch) | |
tree | 63c4a6ec6de75d9a2db7d677c768a5f2953fa237 /net/lapb/lapb_iface.c | |
parent | 68fd60a8c8bca6af51805c45f286f0f2572ac977 (diff) |
tracing/events: record the size of dynamic arrays
When a dynamic array is defined, we add __data_loc_foo in
trace_entry to record the offset of the array, but the
size of the array is not recorded, which causes 2 problems:
- the event filter just compares the first 2 chars of the strings.
- parsers can't parse dynamic arrays.
So we encode the size of each dynamic array in the higher 16 bits
of __data_loc_foo, while the offset is in lower 16 bits.
Signed-off-by: Li Zefan <[email protected]>
LKML-Reference: <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions