aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2014-10-09 15:25:21 -0700
committerLinus Torvalds <[email protected]>2014-10-09 22:25:48 -0400
commit4db7d0ee198d417f4144c58048fcb173d90096ea (patch)
treeae5739057a1eb8d65d5b24ad7c5b8af87a548fa0 /tools/perf/scripts/python/bin/stackcollapse-record
parent46c298cf69d0e9a27d33ff992a81bd7b441c7933 (diff)
fs/proc/task_mmu.c: unify/simplify do_maps_open() and numa_maps_open()
do_maps_open() and numa_maps_open() are overcomplicated, they could use __seq_open_private(). Plus they do the same, just sizeof(*priv) Change them to use a new simple helper, proc_maps_open(ops, psize). This simplifies the code and allows us to do the next changes. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Acked-by: Cyrill Gorcunov <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions