aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Peschke <mpeschke@linux.vnet.ibm.com>2008-10-28 17:07:57 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-10-28 19:09:40 +0100
commit7aa3ebcec011bfe9cc60d6476252c03376a37551 (patch)
tree7ead4353fa892c15411e54dce098e75e387672d1
parent3bc3451b471fe4cea365654481258a1a1913018e (diff)
downloadblktrace-7aa3ebcec011bfe9cc60d6476252c03376a37551.tar.gz
blkiomon: fix cross-arch data analysis issue
This fixes cross-arch issues. Binary data gathered on System z could not be read on x86. Signed-off-by: Martin Peschke <mpeschke@linux.vnet.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--blkiomon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/blkiomon.h b/blkiomon.h
index 2b1f7b2..f681ab8 100644
--- a/blkiomon.h
+++ b/blkiomon.h
@@ -40,7 +40,7 @@ struct blkiomon_stat {
__u64 write;
__u64 bidir;
__u32 device;
-};
+} __attribute__ ((packed));
static struct histlog2 size_hist = {
.first = 0,