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:25:26 +0000 (10:25 +0100)
commit427899c4c9a09e245f0dd1210e824cfcea8212f8
tree70d94045d3d0857b72445aeae580d22b3e4c7c48
parentab3379bcb7748675fd6ef7dac0457f1304516a66
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