aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVladimir Davydov <[email protected]>2016-03-17 14:17:32 -0700
committerLinus Torvalds <[email protected]>2016-03-17 15:09:34 -0700
commit72b54e7314a2e7a68567c92bbb32fe2598a3c783 (patch)
tree3ab699bd18fc1c3b27224620b21a3800ed567402 /tools/perf/scripts/python
parentfcff7d7eebe6d31e2ce20d994555c86a90197034 (diff)
mm: memcontrol: make tree_{stat,events} fetch all stats
Currently, tree_{stat,events} helpers can only get one stat index at a time, so when there are a lot of stats to be reported one has to call it over and over again (see memory_stat_show). This is neither effective, nor does it look good. Instead, let's make these helpers take a snapshot of all available counters. Signed-off-by: Vladimir Davydov <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions