gecko-dev/tools
Nicholas Nethercote 8179018d28 Bug 1373154 (part 3) - Overhaul TickSample and things around it. r=mstange.
Bug 1357829 added a third kind of sample, in addition to the existing
"periodic" and "synchronous" samples. This patch cleans things up around that
change. In particular, it cleans up TickSample, which is a mess of semi-related
things.

The patch does the following.

- It removes everything from TickSample except the register values and renames
  TickSample as Registers. Almost all the removed stuff is available in
  ThreadInfo anyway, and the patch adds a ThreadInfo argument to various
  functions. (Doing it this way wasn't possible until recently because a
  ThreadInfo wasn't available in profiler_get_backtrace() until recently.)

  One non-obvious consequence: in synchronous samples we used to use a value of
  0 for the stackTop. Because synchronous samples now use ThreadInfo directly,
  they are able to use the proper stack top value from ThreadInfo::mStackTop.
  This will presumably only improve the quality of the stack traces.

- It splits Tick() in two and renames the halves DoPeriodicSample() and
  DoSyncSample().

- It reorders arguments in some functions so that ProfileBuffer (the output) is
  always last, and inputs are passed in roughly the order they are obtained.

- It adds a comment at the top of platform.cpp explaining the three kinds of
  sample.

- It renames a couple of other things.

--HG--
extra : rebase_source : 61f4bf75ff5a2c331e8e39dcbb2bf3563606ebb0
2017-06-16 08:29:19 +10:00
..
bloatview
compare-locales bug 1370176, generic configuration for l10n, r=flod,gps 2017-06-05 10:28:33 +02:00
coverity Bug 1359376 - Update Coverity modeling file to support NS_RUNTIMEABORT. r=sylvestre 2017-04-25 15:08:48 +03:00
docs Bug 1335309 - Change the default for find_executables to False. r=mshal 2017-01-31 14:06:15 +09:00
fuzzing Bug 1232119 - Add fuzzer for SharedMemory. r=billm 2017-05-23 22:36:28 +02:00
git Bug 1360595 - Add a git pre-commit hook for running ESLint. r=mossop 2017-04-28 12:19:15 +01:00
jprof
leak-gauge Bug 1360293 - Enable the Mozilla ESlint recommended rules for tools/. r=jryans 2017-05-01 11:38:39 +01:00
lint Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8 2017-06-13 00:23:54 +05:30
memory-profiler Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto. 2017-04-26 14:55:54 +10:00
mercurial Bug 1360595 - Add a git pre-commit hook for running ESLint. r=mossop 2017-04-28 12:19:15 +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 1373154 (part 3) - Overhaul TickSample and things around it. r=mstange. 2017-06-16 08:29:19 +10:00
quitter Bug 1360293 - Enable the Mozilla ESlint recommended rules for tools/. r=jryans 2017-05-01 11:38:39 +01:00
rb
rewriting Bug 1371899 - Add aom to the list of thirdparty code r=rillian 2017-06-10 09:19:45 +02: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 1293493 - Remove `mach rage` since it was unused; r=ted 2017-04-24 16:33:51 -07:00
moz.build Bug 1346025 - Move 'python/compare-locales' documentation and mach command to 'tools/compare-locales', r=Pike 2017-06-06 10:00:51 -04:00