On Fri, Oct 05, 2007 at 02:00:37PM -0400, Jeff Layton wrote:Attached is a Perl script I wrote a while back to scan directories looking for old stat calls in binaries. Here's the output from my laptop: # ./summarise-stat64.pl /usr/bin 775 26.8% are scripts (shell, perl, whatever) 1404 48.5% don't use any stat() family calls at all 428 14.8% use 32-bit stat() family interfaces only 278 9.6% use 64-bit stat64() family interfaces only 11 0.4% use both 32-bit and 64-bit stat() family interfaces # ./summarise-stat64.pl /usr/sbin 164 35.7% are scripts (shell, perl, whatever) 170 37.0% don't use any stat() family calls at all 78 17.0% use 32-bit stat() family interfaces only 46 10.0% use 64-bit stat64() family interfaces only 1 0.2% use both 32-bit and 64-bit stat() family interfaces # ./summarise-stat64.pl -v /usr/bin ... /usr/bin/vi use 32-bit stat() family interfaces only /usr/bin/view use 32-bit stat() family interfaces only /usr/bin/vim use 32-bit stat() family interfaces only ... /usr/bin/Mail use 32-bit stat() family interfaces only /usr/bin/mail use 32-bit stat() family interfaces only /usr/bin/mailx use 32-bit stat() family interfaces only ... /usr/bin/gdb use 32-bit stat() family interfaces only /usr/bin/gdbtui use 32-bit stat() family interfaces only /usr/bin/rpcgen use 32-bit stat() family interfaces only ... /usr/bin/cc use 32-bit stat() family interfaces only /usr/bin/gcc use 32-bit stat() family interfaces only /usr/bin/gcov use 32-bit stat() family interfaces only /usr/bin/unprotoize use 32-bit stat() family interfaces only ... /usr/bin/git use 32-bit stat() family interfaces only /usr/bin/git-check-ref-format use 32-bit stat() family interfaces only /usr/bin/git-cat-file use 32-bit stat() family interfaces only /usr/bin/git-checkout-index use 32-bit stat() family interfaces only /usr/bin/git-clone-pack use 32-bit stat() family interfaces only /usr/bin/git-commit-tree use 32-bit stat() family interfaces only /usr/bin/git-convert-objects use 32-bit stat() family interfaces only /usr/bin/git-daemon use 32-bit stat() family interfaces only /usr/bin/git-describe use 32-bit stat() family interfaces only ... Greg. -- Greg Banks, R&D Software Engineer, SGI Australian Software Group. Apparently, I'm Bedevere. Which MPHG character are you? I don't speak for SGI.
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Christian Kujau | 2.6.20.4: NETDEV WATCHDOG and lockups |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Jack Steiner | Re: [patch] my mmu notifiers |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| YAMAMOTO Takashi | removing VOPs |
| Lennart Augustsson | Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x |
| Daniel Carosone | Re: direct I/O |
| Brian Buhrow | Re: /sbin/reboot and secmodel |
