aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYafang Shao <[email protected]>2019-07-11 20:52:11 -0700
committerLinus Torvalds <[email protected]>2019-07-12 11:05:40 -0700
commitdd9239900e12db84c198855b262ae7796db1123b (patch)
treebf8961375e2bbb9777080944f6105acf6b248fc2 /tools/perf/scripts/python/export-to-postgresql.py
parent9bd3bb6703d8c0a5fb8aec8e3287bd55b7341dcd (diff)
mm/memcontrol: fix wrong statistics in memory.stat
When we calculate total statistics for memcg1_stats and memcg1_events, we use the the index 'i' in the for loop as the events index. Actually we should use memcg1_stats[i] and memcg1_events[i] as the events index. Link: http://lkml.kernel.org/r/[email protected] Fixes: 42a300353577 ("mm: memcontrol: fix recursive statistics correctness & scalabilty"). Signed-off-by: Yafang Shao <[email protected] Reviewed-by: Shakeel Butt <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Yafang Shao <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions