gecko-dev/tools
Markus Stange c1e6abcc0a Bug 1321907 - Remove mIsProfilerActive. r=njn
Replace it with profiler_is_active() in one place, and simply remove it in the
other places. These other places are:
 - Around the call to profiler_OOP_exit_profile: profiler_OOP_exit_profile
   itself already checks whether the profiler is running and does nothing if
   it's not.
 - When handling the 'profiler-subprocess-gather' notification. This
   notification is sent by the profiler because it's interested in the
   profile, so there's little reason to reject it.
 - In RecvProfile: If the child process sent us a profile, it did so in
   response to a GatherProfile request, so chances are that we're still
   interested in that response.

These changes may get us a little closer to a state where you can call
getProfileDataAsync, stop the profiler before the content process profiles
have all come in, and then still receive a response with all the profiles.
At the moment, stopping the profiler will abort the profile gathering process,
but that seems more like an accident and less like the behavior you'd want.

MozReview-Commit-ID: 2tRXC70BztJ

--HG--
extra : rebase_source : 3b2f6f51d75d5f0d439e1a815d84164a5a763603
2017-03-22 21:45:10 -04: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 Bug 777600 - Add MessageManager Fuzzer. r=billm 2017-02-28 16:24:43 -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 Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8 2017-03-21 14:29:43 -04:00
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 1321907 - Remove mIsProfilerActive. r=njn 2017-03-22 21:45:10 -04: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 1340878 - Update the list of thirdparty codes in ThirdPartyPaths.txt r=mystor 2017-02-19 14:21:25 +01: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 1348982 - Make 'mach clang-format' format the current revision instead of the tip. r=gps 2017-03-21 10:31:15 +13:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00