Don't prepend blktrace destination dir if we didn't run blktrace
authorJan Kara <jack@suse.cz>
Thu, 5 May 2016 15:17:10 +0000 (17:17 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 5 May 2016 15:20:18 +0000 (09:20 -0600)
commit8a544092665186e483d55c57adc66d033dbb3bd3
tree0f57508b2ede20dd37eea555c4dea7a19853d418
parentca215e985fadd8de53605ece5d31f924e0f8fde0
Don't prepend blktrace destination dir if we didn't run blktrace

When user specifies trace files directly via -t option, it doesn't make
sense to prepend blktrace destination directory to them (it is
especially confusing if you specify absolute path names with -t option
and this logic breaks the path names). So avoid that.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
iowatcher/main.c