diff options
author | Daniel Kurtz <[email protected]> | 2014-05-18 23:01:12 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2014-05-18 23:27:23 -0700 |
commit | 1e0c0c5b9c9d79acea00cab402b511a268a8bc8e (patch) | |
tree | 254e333777f29c6ddca7c1d4d9e3a3a7ccaf51dd /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8d4e1639066ff27e8c2c51b69b5ce2308da5c41c (diff) |
Input: atmel_mxt_ts - define helper functions for size and instances
These two object table entry fields are reported 1 less than their value.
When used, however, we always want the actual size and instances.
To keep the object size and instances 1-byte fields, and thus preserve
the object-table struct's 6-byte packed alignment, add some convenient
accessor functions that do the +1 every time these fields are accessed.
Signed-off-by: Daniel Kurtz <[email protected]>
Signed-off-by: Nick Dyer <[email protected]>
Acked-by: Benson Leung <[email protected]>
Acked-by: Yufeng Shen <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions