linux-kernel-test/include/trace
Anatol Pomozov 210c05264d ext4: realign trace events structs to make it smaller
Most hardware architectures require that data (including struct fields)
have to be aligned in memory. To make it happen compiler inserts padding
between struct fields if they are not aligned correctly.

Reorder fields to remove paddings and make structures denser. Making data
smaller saves some memory that is very important for trace events.
Tracing buffer has limited size and making objects smaller we can put more
of them without overflowing the tracing buffer.

To find data struct holes I used 'pahole -H 1 -E -I vmlinux.o' from
'dwarves' package.

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-08-17 09:50:17 -04:00
..
events ext4: realign trace events structs to make it smaller 2012-08-17 09:50:17 -04:00
define_trace.h Revert "tracing: Include module.h in define_trace.h" 2011-10-31 19:32:35 -04:00
ftrace.h tracing/kvm: Use __print_hex() for kvm_emulate_insn tracepoint 2012-06-28 13:52:15 -04:00
syscall.h