aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2018-01-31 16:16:37 -0800
committerLinus Torvalds <[email protected]>2018-01-31 17:18:36 -0800
commitc9019e9bf42e66d028d70d2da6206cad4dd9250d (patch)
tree6ad08f6a8e83971d3ca137c43b67b3de70006225 /tools/perf/scripts/python/event_analyzing_sample.py
parent2b9fceb3b47b7c44fb04eef068f441e7b18daa68 (diff)
mm: memcontrol: eliminate raw access to stat and event counters
Replace all raw 'this_cpu_' modifications of the stat and event per-cpu counters with API functions such as mod_memcg_state(). This makes the code easier to read, but is also in preparation for the next patch, which changes the per-cpu implementation of those counters. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Johannes Weiner <[email protected]> Acked-by: Vladimir Davydov <[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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions