OSDN Git Service

iotop: add major/minor fault stats
authorMinchan Kim <minchan@google.com>
Fri, 7 Sep 2018 03:07:00 +0000 (12:07 +0900)
committerSandeep Patil <sspatil@google.com>
Fri, 4 Jan 2019 22:56:45 +0000 (14:56 -0800)
commit4f74f32cea6d8fcf174cf93b28c20bc83149e0c1
tree9c74fd044b373dc7152988786935204d92ab974a
parent9de03e3913cc835d90b8d0b880db0247b2b42914
iotop: add major/minor fault stats

Provide major/minor fault stats.

It would be helpful to see per-process memory consumption speed.
It is also useful to see read IO caused by major fault, which
is critical for app latency.

Bug: 114325007
Test: iotop -h
Test: iotop -m 10 -s faults
Change-Id: If9670a4efe76bcd67b9caedb3427b69896ebed17
Signed-off-by: Minchan Kim <minchan@google.com>
[Added sorter for major+minor faults]
Signed-off-by: Sandeep Patil <sspatil@google.com>
iotop/iotop.cpp
iotop/taskstats.cpp
iotop/taskstats.h