check output_format before calling show_idle_prof_stats()
authorHuadong Liu <HLiu@fusionio.com>
Thu, 21 Feb 2013 09:24:20 +0000 (10:24 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Feb 2013 09:24:20 +0000 (10:24 +0100)
commit609040037aabb49b7ac65562587c17d990f6b303
tree6e5326d36da512ac3aa8a2dc7611d429ae808232
parent5ffbb6258baaadff19496403c89d0bf7ccf0bf79
check output_format before calling show_idle_prof_stats()

Do the proper checks for output format type and whether we are
a server backend or not.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c