DragonFlyBSD/src f45b9d7 — usr.bin/gcore gcore.c elfcore.c
gcore - Fix /proc map reading, add verbose option, add limit option * Our /proc/*/map code allows incremental reads so the old code that detects an insufficient buffer size no longer works. Fix the code so processes with long maps are properly processed. * Add -v to verbosely print the segments being dumped. * Add -l <limit>{,k,m,g,t} to ignore segments larger than the specified limitm.
Delta | File | |
---|---|---|
+34 | -2 | usr.bin/gcore/gcore.c |
+28 | -4 | usr.bin/gcore/elfcore.c |
+9 | -1 | usr.bin/gcore/gcore.1 |
+71 | -7 | 3 files |