aboutsummaryrefslogtreecommitdiff
path: root/blkiomon.c
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2019-07-01 20:59:18 +0000
committerXin Li <delphij@google.com>2019-07-01 20:59:18 +0000
commitc8a6a475f46ae2cf8a9d3c32262b00b14123d9e6 (patch)
tree28ce16b16a7e52db33e3f6e094e396893e0d2001 /blkiomon.c
parentfcf2bbd5a3d2553125dfc4055fe4ae57c5499669 (diff)
parent9c82183ae7fb7dc4db787b8796c652a732b4d552 (diff)
downloadblktrace-c8a6a475f46ae2cf8a9d3c32262b00b14123d9e6.tar.gz
DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-mastertemp_140451723
Bug: 134405016 Change-Id: Icd38ba6290b413fe410869e29eae8e02699e32a8
Diffstat (limited to 'blkiomon.c')
-rw-r--r--blkiomon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/blkiomon.c b/blkiomon.c
index 9fc4d75..f8b0c9d 100644
--- a/blkiomon.c
+++ b/blkiomon.c
@@ -198,7 +198,7 @@ static struct dstat *blkiomon_find_dstat(struct rb_search *search, __u32 device)
static struct dstat *blkiomon_get_dstat(__u32 device)
{
struct dstat *dstat;
- struct rb_search search;
+ struct rb_search search = { 0, };
pthread_mutex_lock(&dstat_mutex);
@@ -599,6 +599,7 @@ static char usage_str[] = "\n\nblkiomon " \
"-I <interval> | --interval=<interval>\n" \
"[ -h <file> | --human-readable=<file> ]\n" \
"[ -b <file> | --binary=<file> ]\n" \
+ "[ -d <file> | --dump-lldd=<file> ]\n" \
"[ -D <file> | --debug=<file> ]\n" \
"[ -Q <path name> | --msg-queue=<path name>]\n" \
"[ -q <msg queue id> | --msg-queue-id=<msg queue id>]\n" \