[Patch 1/6] blkiomon: fix cross-arch data analysis issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Martin Peschke <mpeschke@xxxxxxxxxxxxxxxxxx>

This fixes cross-arch issues. Binary data gathered on System z could not
be read on x86.

Signed-off-by: Martin Peschke <mpeschke@xxxxxxxxxxxxxxxxxx>

---
 blkiomon.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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,


--
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux