summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blkiomon.c2
-rw-r--r--blkiomon.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/blkiomon.c b/blkiomon.c
index c3c1b11..54c8fa7 100644
--- a/blkiomon.c
+++ b/blkiomon.c
@@ -71,7 +71,7 @@ struct output {
int pipe;
};
-static char blkiomon_version[] = "0.2";
+static char blkiomon_version[] = "0.3";
static FILE *ifp;
static int interval = -1;
diff --git a/blkiomon.h b/blkiomon.h
index 2e430a6..2ea1716 100644
--- a/blkiomon.h
+++ b/blkiomon.h
@@ -34,6 +34,7 @@ struct blkiomon_stat {
__u64 time;
__u32 size_hist[BLKIOMON_SIZE_BUCKETS];
__u32 d2c_hist[BLKIOMON_D2C_BUCKETS];
+ __u32 device;
struct minmax size_r;
struct minmax size_w;
struct minmax d2c_r;
@@ -41,8 +42,7 @@ struct blkiomon_stat {
struct minmax thrput_r;
struct minmax thrput_w;
__u64 bidir;
- __u32 device;
-} __attribute__ ((packed));
+};
static struct histlog2 size_hist = {
.first = 0,