aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorzhong jiang <[email protected]>2018-10-26 15:06:57 -0700
committerLinus Torvalds <[email protected]>2018-10-26 16:26:33 -0700
commitdedf2c73b80b4566dfcae8ebe9ed46a38b63a1f9 (patch)
tree1f6c11fcbe8fbde13cf579a23a82f30fd95caf2b /tools/perf/scripts/python/stackcollapse.py
parentc3df29d13044d885695067fa0b1386824942557a (diff)
mm/mempolicy.c: use match_string() helper to simplify the code
match_string() returns the index of an array for a matching string, which can be used intead of open coded implementation. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: zhong jiang <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Andrey Ryabinin <[email protected]> Cc: Andrea Arcangeli <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions