gecko-dev/tools
Nicholas Nethercote af10e0c45c Bug 1340928 (part 16) - Clean up profiler env var handling. r=mstange.
This patch does the following.

- Uses "entries" consistently for the name of the value that is obtained from
  MOZ_PROFILER_ENTRIES and is the first argument to profiler_start(). (I.e. not
  "entry" or "entrySize".)

- Removes variables (e.g. PROFILER_HELP) holding env var names and uses the
  names (e.g. "MOZ_PROFILER_HELP") directly. Some of the names are already used
  directly and I think the slight repetition isn't harmful. It's unlikely that
  we'd want to change these names the way we might need to change a numeric
  value, and they're perfectly descriptive.

- Changes the "MOZ_PROFILING_FEATURES" string in the weird Android-only startup
  code to be "MOZ_PROFILER_FEATURES", for consistency.

- Renames gUnwindInterval and gProfileEntries as gEnvVarInterval and
  gEnvVarEntries to make it clearer that they come from environment variables,
  but otherwise are parallel to gInterval and gEntries.

- Puts entries before intervals in most places, to match the profiler_start()
  argument order.

- Changes profiler_usage() so that (a) it always prints, no matter the
  verbosity, (b) it exits at its end, and (c) doesn't double-print "Profiler: "
  at the start of each line.

--HG--
extra : rebase_source : e5a0b1c48e390ada894c746f050f08ff5c241066
2017-02-23 14:26:46 +11:00
..
bloatview
coverity Bug 1300080 - add to mozilla repository the modeling file for coverity. r=Ehsan 2016-09-03 08:55:58 +03:00
docs Bug 1335309 - Change the default for find_executables to False. r=mshal 2017-01-31 14:06:15 +09:00
fuzzing Backed out 4 changesets (bug 1306329) for 3000+ hazards a=backout 2017-01-17 17:55:24 -08:00
jprof Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske 2016-08-15 17:28:05 -07:00
leak-gauge Bug 1275744 - Reference MOZ_LOG in leak_gauge. r=dbaron 2016-05-25 15:21:04 -07:00
lint Merge m-c to inbound, a=merge 2017-02-15 19:17:03 -08:00
memory
memory-profiler Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium. 2017-01-24 14:15:12 +11:00
mercurial Bug 1307622: Fix handling of ignored file warnings. r=Mossop 2016-10-04 22:44:50 +01:00
power Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in tools/ r=froydnj 2017-02-08 12:04:50 +01:00
profiler Bug 1340928 (part 16) - Clean up profiler env var handling. r=mstange. 2017-02-23 14:26:46 +11:00
quitter Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
rb Bug 1331310 - Remove unbufferedLineConverter in fix_linux_stacks.py. r=glandium. 2017-01-18 13:57:39 +11:00
rewriting Bug 1338220 - Add webrender dirs to list of third-party code. r=sylvestre 2017-02-09 12:14:09 -05:00
update-packaging Bug 1339182 - Remove OSX universal support in the build system; r=glandium 2017-02-10 16:52:17 -05:00
mach_commands.py Bug 1329191 - Download clang-format 4.0 from tooltool and add a checksum check. Flake8 on the rest of the file r=gps 2017-01-06 15:52:07 +01:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00