summaryrefslogtreecommitdiffstats
path: root/tools/linux
Commit message (Collapse)AuthorAgeFilesLines
* add a few OWNERS files below tools/thakis2015-11-101-0/+2
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/1433043002 Cr-Commit-Position: refs/heads/master@{#358909}
* Allow to specify toolchain for dump-static-initializers.pymlopatkin2015-05-271-9/+15
| | | | | | | | | | | | | | | | By default dump-static-initializers.py uses objdump from the PATH which is usually host system's default which supports x86/x86_64 but doesn't support CPU architectures used on Android, like ARM or MIPS. This change allows a developer to select toolchain from NDK by specifying prefix for the tools with "-t ndk/toolchains/aarch64-linux-android-4.9/.../aarch64-linux-android-" (full path shortened to fit in 80 symbols). BUG=492513 R=thakis@chromium.org Review URL: https://codereview.chromium.org/1158153002 Cr-Commit-Position: refs/heads/master@{#331551}
* Cleanup: Presubmit API is built into depot_tools.tfarina2015-01-311-2/+2
| | | | | | | | | | | | | Not in gcl, which probably these days nobody working on Chromium uses. BUG=None R=maruel@chromium.org TBR=maruel@chromium.org NOPRESUBMIT=true Review URL: https://codereview.chromium.org/887033002 Cr-Commit-Position: refs/heads/master@{#314039}
* Make find_runtime_tools available for non-Chrome executables.dmikurube@chromium.org2014-05-212-13/+10
| | | | | | | | | | BUG=123750 TEST=None NOTRY=True Review URL: https://codereview.chromium.org/299753007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271872 0039d316-1c4b-4281-b951-d872f2087c98
* linux: In diff mode, print files with init function that calls 0 initializers.thakis@chromium.org2014-04-261-1/+4
| | | | | | | | | | | | | clang writes two of these for some reason, and due to the script not printing these it took me a while to figure out why clang has initializers for two more files. BUG=360311 NOTRY=true Review URL: https://codereview.chromium.org/251873003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266323 0039d316-1c4b-4281-b951-d872f2087c98
* Error handling and refactoring in tools/linux/procfs.py, and rename ↵dmikurube@chromium.org2013-12-251-12/+33
| | | | | | | | | | | | multi-process-rss.py. BUG=324194 TEST=None NOTRY=True Review URL: https://codereview.chromium.org/108073002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242476 0039d316-1c4b-4281-b951-d872f2087c98
* Resident set size (RSS) of multiple processes without double-counts on Linux.dmikurube@chromium.org2013-12-031-11/+16
| | | | | | | | | | | | | It fixes logging and in-process duplication counting in tools/linux/procfs.py at the same time. BUG=324194 TEST=None NOTRY=True Review URL: https://codereview.chromium.org/98423003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238295 0039d316-1c4b-4281-b951-d872f2087c98
* Add a Python library to read /proc on Linux.dmikurube@chromium.org2013-11-293-0/+879
| | | | | | | | | | | | It also moves tools/find_runtime_tools/proc_maps.py into tools/linux/procfs.py. BUG=324194 TEST=tools/linux/tests/procfs_tests.py NOTRY=True Review URL: https://codereview.chromium.org/96443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237919 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak to make the tools/linux/dump-static-initializers.py diffable output ↵thestig@chromium.org2012-05-241-1/+1
| | | | | | | | | | | more readable. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10445008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138854 0039d316-1c4b-4281-b951-d872f2087c98
* dump-static-initializers: reference existing bug on protobuffersevan@chromium.org2012-02-091-1/+8
| | | | | | | | | When printing out that some bit of code has a static initializer due to this known bug, reference the bug. Review URL: https://chromiumcodereview.appspot.com/9372037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121327 0039d316-1c4b-4281-b951-d872f2087c98
* dump-static-initializers: fix and expand regexevan@chromium.org2012-02-091-8/+30
| | | | | | | | | The regex as written didn't even match the comment above it; add a test and expand the regex to match another format. Review URL: https://chromiumcodereview.appspot.com/9375027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121324 0039d316-1c4b-4281-b951-d872f2087c98
* dump-static-initializers: also complain about empty initializersevan@chromium.org2012-02-081-16/+18
| | | | | | | | | | | Even when a static initializer is only two bytes, we still ought to fix it. Keep the two-byte special case so we can include extra hints. Review URL: http://codereview.chromium.org/9362002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120897 0039d316-1c4b-4281-b951-d872f2087c98
* Adds '#'s to the beginning of each output line when running with -dtbreisacher@chromium.org2012-02-071-2/+4
| | | | | | | | | | | This way, if the output format changes in a way that confuses the bot running sizes.py, we can tell the bot to just ignore lines that start with '#'. See http://codereview.chromium.org/9323047/#msg11 BUG=102013 TEST=none Review URL: https://chromiumcodereview.appspot.com/9347013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120726 0039d316-1c4b-4281-b951-d872f2087c98
* dump-static-initializers.py: Don't try to use git when not in a git checkout.fischman@chromium.org2012-02-071-0/+8
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9347002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120653 0039d316-1c4b-4281-b951-d872f2087c98
* dump-static-initializers.py: Add '-d' flag for listing SI's in an easily ↵tbreisacher@chromium.org2012-02-011-27/+32
| | | | | | | | | | | | "diff-able" way, for use in the 'sizes' script. BUG=none TEST=none Review URL: http://codereview.chromium.org/9169074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120131 0039d316-1c4b-4281-b951-d872f2087c98
* Path-qualify filenames emitted by dump-static-intializers.py, when ↵fischman@chromium.org2012-01-181-5/+54
| | | | | | | | | | | | easy/possible. BUG=none TEST=none Review URL: http://codereview.chromium.org/9227002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118049 0039d316-1c4b-4281-b951-d872f2087c98
* Fix python scripts in src/tools/maruel@chromium.org2011-11-291-1/+1
| | | | | | | | | | | | | | | | | | Make sure that: - shebang is only present for executable files - shebang is #!/usr/bin/env python - __main__ is only present for executable files - file's executable bit is coherent Also fix EOF LF to be only one. TBR=timurrrr@chromium.org BUG=105108 TEST= Review URL: http://codereview.chromium.org/8678023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111960 0039d316-1c4b-4281-b951-d872f2087c98
* dump-static-initializers: Add a --size option to just print out the total ↵thestig@chromium.org2011-10-071-22/+40
| | | | | | | | | | static initializers size. BUG=none TEST=none Review URL: http://codereview.chromium.org/8188003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104414 0039d316-1c4b-4281-b951-d872f2087c98
* dump-static-initializers: make more user-friendlyevan@chromium.org2011-09-231-7/+12
| | | | | | | | | - Use optparse so --help works. - Make the code that catches running on a Debug build actually work. Review URL: http://codereview.chromium.org/8015017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102567 0039d316-1c4b-4281-b951-d872f2087c98
* Check in a tool to dump static initializers from a binaryevan@chromium.org2011-09-061-0/+113
BUG=94925 Review URL: http://codereview.chromium.org/7837013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99852 0039d316-1c4b-4281-b951-d872f2087c98