aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorShaohua Li <[email protected]>2015-10-15 15:28:29 -0700
committerLinus Torvalds <[email protected]>2015-10-16 11:42:28 -0700
commit424cdc14138088ada1b0e407a2195b2783c6e5ef (patch)
tree346cb6c621d85e998868d6f1d50be2b2bcd0982a /tools/perf/scripts/python/export-to-postgresql.py
parent8d740a37b92f3d4a0435fe263b32efc7f61c5efb (diff)
memcg: convert threshold to bytes
page_counter_memparse() returns pages for the threshold, while mem_cgroup_usage() returns bytes for memory usage. Convert the threshold to bytes. Fixes: 3e32cb2e0a12b6915 ("memcg: rename cgroup_event to mem_cgroup_event"). Signed-off-by: Shaohua Li <[email protected]> Cc: Johannes Weiner <[email protected]> Acked-by: Michal Hocko <[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