Report task io only when CONFIG_TASK_IO_ACCOUNTING is enabled 03/249603/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 15 Dec 2020 05:59:47 +0000 (14:59 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 15 Dec 2020 06:53:37 +0000 (15:53 +0900)
commit69ea714cfdea286bedfc626e17fc4a1df4d28519
tree319609825e5ca9751a71f35c97b288974587e0b1
parente486ae76cc64ee32a8740888dafff483172ef242
Report task io only when CONFIG_TASK_IO_ACCOUNTING is enabled

If kernel does not have CONFIG_TASK_IO_ACCOUNTING, then it is not
possbile to support task io usage. Reporting task io only when
kernel has CONFIG_TASK_IO_ACCOUNTING, otherwise just report 0.

Change-Id: I9b55c9bb85ae3b8900c04564481de7cef249289b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
kernel/proc-tsm.c