stat: fix --bandwidth-log segfault
authorIgor Konopko <igor.j.konopko@intel.com>
Fri, 8 Jun 2018 08:26:25 +0000 (10:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Jun 2018 14:31:20 +0000 (08:31 -0600)
commitab5643cb04dac549b2202231d5c6e33339b7fe7d
tree60732cf6b071d61eecaaaea6d40f2b158b17eb3d
parent7ceefc0914b9ff721047b4dc8be54625d43f577c
stat: fix --bandwidth-log segfault

Since bandwidth log has no corresponding thread data
and pending struct, we cannot access any fields inside it.

Signed-off-by: Igor Konopko <igor.j.konopko@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c