libfio: add runstate names
authorJens Axboe <axboe@fb.com>
Mon, 27 Jul 2015 18:08:33 +0000 (12:08 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 27 Jul 2015 18:08:33 +0000 (12:08 -0600)
commit6e760cf3906d0942715c3c0de43040c53c0b8a92
treef196b486de015f14267bbb160d8413efe0dc7cd3
parent1520f26e713a2fded6728ad372af0d7b8c197adf
libfio: add runstate names

Enables --debug=process to show the actual transitions, instead of
numbers you have to look up in the source:

process  12113 pid=12123: runstate CREATED -> INITIALIZED

instead of

process  12113 pid=12123: runstate 1 -> 2

Signed-off-by: Jens Axboe <axboe@fb.com>
fio.h
libfio.c