Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/scripts/bloat-o-meter

    r3232 r3621  
    88# of the GNU General Public License, incorporated herein by reference.
    99
    10 import sys, os#, re
     10import sys, os
    1111
    1212def usage():
    13     sys.stderr.write("usage: %s [-t] file1 file2\n" % sys.argv[0])
    14     sys.exit(-1)
     13    sys.stderr.write("usage: %s [-t] file1 file2 [-- <readelf options>]\n"
     14                        % sys.argv[0])
     15    sys.stderr.write("\t-t\tShow time spent on parsing/processing\n")
     16    sys.stderr.write("\t--\tPass additional parameters to readelf\n")
     17    sys.exit(1)
    1518
    1619f1, f2 = (None, None)
     
    3235        elif f2 is None:
    3336            f2 = f
     37        else:
     38            usage()
    3439if flag_timing:
    3540    import time
Note: See TracChangeset for help on using the changeset viewer.