summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2011-03-24 02:42:33 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-24 05:46:29 +0300
commite7018b8d27e0c9aa2200e5b393e0fe9093c6565c (patch)
tree13a4d92cd78bc6f97d9a2b6d77880c9ea5d67aa1 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentbf1ff2635a5fda207fc870df348bfc766e8dcd4d (diff)
downloadlinux-e7018b8d27e0c9aa2200e5b393e0fe9093c6565c.tar.xz
memcg: keep only one charge cancelling function
We have two charge cancelling functions: one takes a page count, the other a page size. The second one just divides the parameter by PAGE_SIZE and then calls the first one. This is trivial, no need for an extra function. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions