[gPXE-devel] Automatic size reports?

Glenn Brown glenn at myri.com
Wed Jul 14 02:24:30 EDT 2010


I wrote a script to report file size changes for patch sets, which 
generates reports like the following.  I'll contribute the patch if 
anyone's interested, but know that it's necessarily slow, since it has 
to checkout and build each release.

--Glenn

> glenn at glenn[23:11:20]/var/tmp/glenn/gpxe/src 4> ./sizes v1.0.0 v1.0.1-rc1
> Incremental Patch Cost
>
> 5eea94e [release] Update version to 1.0.0+ post release
> text    data    bss     filename
> ----    ----    ---     --------
> 2       1       -       (TOTALS)
> 1       -       -       bin/http.o
> 1       -       -       bin/main.o
> -       1       -       bin/multiboot.o
>
> 422f3a6 [shell_banner] Avoid printing Ctrl-B prompt if BANNER_TIMEOUT <= 0
> text    data    bss     filename
> ----    ----    ---     --------
>
> 5e70e85 [hermon] Change hermon_alloc_icm() to conform to ConnectX2 requirements
> text    data    bss     filename
> ----    ----    ---     --------
> 531     -       -       (TOTALS)
> 215     -       -       bin/__udivmoddi4.o
> 38      -       -       bin/__umoddi3.o
> 278     -       -       bin/hermon.o
>
> f9f7863 [util] Detect genisoimage as mkisofs replacement
> text    data    bss     filename
> ----    ----    ---     --------
>
> cd9c948 [iscsi] Fix interoperability with QNAP TS-639Pro
> text    data    bss     filename
> ----    ----    ---     --------
> 40      -       -       (TOTALS)
> 40      -       -       bin/iscsi.o
>
> b7af0aa [undi] Ensure only one UNDI instance is loaded
> text    data    bss     filename
> ----    ----    ---     --------
> 63      -       -       (TOTALS)
> 63      -       -       bin/undiload.o
>
> f5f8ee0 [vxge] Add support for X3100 series 10GbE Server/Storage Adapter
> text    data    bss     filename
> ----    ----    ---     --------
> 10065   48      -       (TOTALS)
> 6413    -       -       bin/vxge_config.o
> 1692    48      -       bin/vxge_main.o
> 1926    -       -       bin/vxge_traffic.o
> 34      -       -       bin/x86_io.o
>
> 12defec [comboot] Match version strings to SYSLINUX style
> text    data    bss     filename
> ----    ----    ---     --------
> -       5       -       (TOTALS)
> -       5       -       bin/comboot_call.o
>
> 868d2e4 [build] Disable ccache for embedded.o
> text    data    bss     filename
> ----    ----    ---     --------
>
> 52ec5c3 [misc] Remove accidentally commited .dotest directory
> text    data    bss     filename
> ----    ----    ---     --------
>
> 5782794 [build] Disable ccache for embedded.o
> text    data    bss     filename
> ----    ----    ---     --------
>
> 6a6f26f [fnrec] Add function recorder for debugging
> text    data    bss     filename
> ----    ----    ---     --------
>
> 6877c84 [vxge] Add stub vxge.c file so bin/vxge.usb can be built
> text    data    bss     filename
> ----    ----    ---     --------
> -       4       -       (TOTALS)
> -       4       -       bin/vxge.o
>
> 73c71f6 [iscsi] Disambiguate some common authentication errors
> text    data    bss     filename
> ----    ----    ---     --------
>
> 930a2ff [e1000] Update e1000 driver
> text    data    bss     filename
> ----    ----    ---     --------
> -1528   -276    -       (TOTALS)
> -3758   -792    -       bin/e1000.o
> 2735    244     -       bin/e1000_82540.o
> 3194    136     -       bin/e1000_82541.o
> 1810    28      -       bin/e1000_82542.o
> 4247    88      -       bin/e1000_82543.o
> 1433    -       -       bin/e1000_api.o
> -26953  -       -       bin/e1000_hw.o
> 4638    -       -       bin/e1000_mac.o
> 2856    20      -       bin/e1000_main.o
> 3461    -       -       bin/e1000_nvm.o
> 4809    -       -       bin/e1000_phy.o
>
> be5392c [e1000e] Add e1000e driver
> text    data    bss     filename
> ----    ----    ---     --------
> 31545   936     4       (TOTALS)
> 3598    64      -       bin/e1000e_80003es2lan.o
> 4578    244     -       bin/e1000e_82571.o
> 8980    328     -       bin/e1000e_ich8lan.o
> 3132    -       -       bin/e1000e_mac.o
> 2783    300     4       bin/e1000e_main.o
> 1440    -       -       bin/e1000e_nvm.o
> 7034    -       -       bin/e1000e_phy.o
>
> 5e829de [igb] Add igb driver
> text    data    bss     filename
> ----    ----    ---     --------
> 17285   156     -       (TOTALS)
> 4068    136     -       bin/igb_82575.o
> 1140    -       -       bin/igb_api.o
> 3673    -       -       bin/igb_mac.o
> 2279    20      -       bin/igb_main.o
> 1442    -       -       bin/igb_nvm.o
> 4683    -       -       bin/igb_phy.o
>
> b3533dd [phantom] Update interrupt support to match current firmware
> text    data    bss     filename
> ----    ----    ---     --------
> 195     -       -       (TOTALS)
> 195     -       -       bin/phantom.o
>
> 88e4363 [netdevice] Add netdev_is_open() wrapper function
> text    data    bss     filename
> ----    ----    ---     --------
> 2       -       -       (TOTALS)
> 2       -       -       bin/rtl818x.o
>
> 4a7648b [netdevice] Record whether or not interrupts are currently enabled
> text    data    bss     filename
> ----    ----    ---     --------
> 27      -       -       (TOTALS)
> 27      -       -       bin/netdevice.o
>
> 9acf442 [pxe] Avoid potential interrupt storms when using shared interrupts
> text    data    bss     filename
> ----    ----    ---     --------
> -1      -       -       (TOTALS)
> -1      -       -       bin/pxe_undi.o
>
> 80d1ac7 [pxe] Remove pxe_set_cached_filename()
> text    data    bss     filename
> ----    ----    ---     --------
> -74     -       -       (TOTALS)
> -69     -       -       bin/pxe_preboot.o
> -5      -       -       bin/pxe_tftp.o
>
> 46d6ec7 [build] Add support for local configuration files
> text    data    bss     filename
> ----    ----    ---     --------
>
> f7c5918 [drivers] Fix warnings identified by gcc 4.5
> text    data    bss     filename
> ----    ----    ---     --------
>
> 9feb7b3 [build] Look for isolinux.bin in more places
> text    data    bss     filename
> ----    ----    ---     --------
>
> 70537cb [util] Hide an expected error from the 'which' command
> text    data    bss     filename
> ----    ----    ---     --------
>
> 2a36703 [eepro100] Remove link-state checking
> text    data    bss     filename
> ----    ----    ---     --------
> -146    -       -4      (TOTALS)
> -146    -       -4      bin/eepro100.o
>
> 019327e [uri] Fix NULL dereference in parse_uri()
> text    data    bss     filename
> ----    ----    ---     --------
> 3       -       -       (TOTALS)
> 3       -       -       bin/uri.o
>
> 79d9b28 [uri] Special case NULL in churi()
> text    data    bss     filename
> ----    ----    ---     --------
> 6       -       -       (TOTALS)
> 6       -       -       bin/cwuri.o
>
> 4c61f2a [comboot] Propagate carry flag from COMBOOT API
> text    data    bss     filename
> ----    ----    ---     --------
> 9       -       -       (TOTALS)
> 9       -       -       bin/comboot_call.o
> -9      -       -       bin/e820mangler.o
> 9       -       -       bin/patch_cf.o
>
> 9b0e589 [wpa] Remove PMKID checking
> text    data    bss     filename
> ----    ----    ---     --------
> -345    -       -       (TOTALS)
> -345    -       -       bin/wpa.o
>
> 42fb96f [dhcp] Honor PXEBS_SKIP option in discovery control
> text    data    bss     filename
> ----    ----    ---     --------
> 73      -       -       (TOTALS)
> 73      -       -       bin/dhcp.o
>
> 2991938 [compiler] Fix 64bit compile time errors
> text    data    bss     filename
> ----    ----    ---     --------
> -23     -       -       (TOTALS)
> -23     -       -       bin/skge.o
>
> 8820d4c [dhcp] Don't consider invalid offers to be duplicates
> text    data    bss     filename
> ----    ----    ---     --------
>
> 9e9f021 [linker] Use weak definitions instead of weak declarations
> text    data    bss     filename
> ----    ----    ---     --------
> -65     -       -       (TOTALS)
> -11     -       -       bin/autoboot.o
> -17     -       -       bin/comboot_call.o
> -13     -       -       bin/dhcp.o
> -24     -       -       bin/net80211.o
>
> 3266c89 [bitmap] Fix bitmaps on 64-bit platforms
> text    data    bss     filename
> ----    ----    ---     --------
> 8       -       -       (TOTALS)
> 8       -       -       bin/bitmap.o
>
> 8b428e1 [elf2efi] Improve error handling
> text    data    bss     filename
> ----    ----    ---     --------
>
> 3f845eb [efi] Fix link order for elf2efi
> text    data    bss     filename
> ----    ----    ---     --------
>
> 719c4e4 [efi] Fix *.efi linking
> text    data    bss     filename
> ----    ----    ---     --------
>
> 0e6bcf5 [build] Allow building against a zlib in a non-standard location
> text    data    bss     filename
> ----    ----    ---     --------
>
> 447aa79 [dhcp] Use correct DHCP options on EFI systems
> text    data    bss     filename
> ----    ----    ---     --------
>
> b2cd381 [base64] Allow base64_encode() to handle arbitrary data
> text    data    bss     filename
> ----    ----    ---     --------
> -5      -       -       (TOTALS)
> -15     -       -       bin/base64.o
> 10      -       -       bin/http.o
>
> e55e079 [base64] Add ability to decode base64 strings
> text    data    bss     filename
> ----    ----    ---     --------
> 196     -       -       (TOTALS)
> 196     -       -       bin/base64.o
>
> 87a7dee [base16] Add generic base16 encoding and decoding routines
> text    data    bss     filename
> ----    ----    ---     --------
>
> 9cf1c45 [iscsi] Use generic base16 functions for iSCSI
> text    data    bss     filename
> ----    ----    ---     --------
> 35      -       -       (TOTALS)
> 135     -       -       bin/base16.o
> -100    -       -       bin/iscsi.o
>
> 4a8601d [infiniband] Use generic base16 functions for SRP
> text    data    bss     filename
> ----    ----    ---     --------
>
> 607e5f9 [iscsi] Allow base64 encoding in large binary values
> text    data    bss     filename
> ----    ----    ---     --------
> 21      -       -       (TOTALS)
> 21      -       -       bin/iscsi.o
>
> 19dfdc0 [efi] Update UEFI header files with latest version from TianoCore
> text    data    bss     filename
> ----    ----    ---     --------
>
> bef87e1 [efi] Add the "snpnet" driver
> text    data    bss     filename
> ----    ----    ---     --------
>
> dba9969 [jme] Add JMicron Ethernet driver
> text    data    bss     filename
> ----    ----    ---     --------
> 3352    60      -       (TOTALS)
> 3352    60      -       bin/jme.o
>
> 5714e07 [lkrnprefix] Fix documentation path in comment
> text    data    bss     filename
> ----    ----    ---     --------
>
> 9a4bf25 [eepro100] Add PCI ID for Intel Pro/100 VE
> text    data    bss     filename
> ----    ----    ---     --------
> -       12      -       (TOTALS)
> -       12      -       bin/eepro100.o
>
> af585ca [jme] Fix refill behavior
> text    data    bss     filename
> ----    ----    ---     --------
> 36      -       -       (TOTALS)
> 36      -       -       bin/jme.o
>
> 36892fe [jme] Fix 64-bit compile of JMicron ethernet driver
> text    data    bss     filename
> ----    ----    ---     --------
>
> cfb6df1 [ethernet] Move Ethernet MAC address checking routines to ethernet.h
> text    data    bss     filename
> ----    ----    ---     --------
>
> eb78692 [pcnet32] Replace pcnet32 with native driver
> text    data    bss     filename
> ----    ----    ---     --------
> -298    -       -76     (TOTALS)
> -298    -       -76     bin/pcnet32.o
>
> b70afba [release] Update version to 1.0.1-rc1 for release
> text    data    bss     filename
> ----    ----    ---     --------
> 6       7       -       (TOTALS)
> -       4       -       bin/comboot_call.o
> 3       -       -       bin/http.o
> 3       -       -       bin/main.o
> -       3       -       bin/multiboot.o
>
> Returning to commit 1a8e24cbfdbd48221a419dd00ef1b108a52c29f7
> HEAD is now at 1a8e24c... [release] Update version to 1.0.1+ post release


More information about the gPXE-devel mailing list