aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorHannes Frederic Sowa <[email protected]>2013-09-21 16:55:59 +0200
committerDavid S. Miller <[email protected]>2013-09-27 17:32:16 -0400
commit8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 (patch)
tree37202066f7715ffc4858c4dd9b5c66c1c8c5cd76 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent6229ed1f22592d5ee8360a638cb965fef88b080f (diff)
ipv6: avoid high order memory allocations for /proc/net/ipv6_route
Dumping routes on a system with lots rt6_infos in the fibs causes up to 11-order allocations in seq_file (which fail). While we could switch there to vmalloc we could just implement the streaming interface for /proc/net/ipv6_route. This patch switches /proc/net/ipv6_route from single_open_net to seq_open_net. loff_t *pos tracks dst entries. Also kill never used struct rt6_proc_arg and now unused function fib6_clean_all_ro. Cc: Ben Greear <[email protected]> Cc: Patrick McHardy <[email protected]> Cc: YOSHIFUJI Hideaki <[email protected]> Signed-off-by: Hannes Frederic Sowa <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions