gecko-dev/python
Nick Alexander cba669901b Bug 1713173 - Add --profile-command flag for profiling mach commands. r=firefox-build-system-reviewers,mhentges
I chose to do this at the level of the outer Python invocation because:

1. `python -m cProfile ...` handles writing the file and some other
   details.  It's possible to rebuild the functionality -- the tools
   are there -- but the APIs are awkward.

2. this allows to profile `mach` internals, instead of just the
   invoked command's implementation.

This uses the return code of the `get_command` subshell to transmit
the single bit of information "is the flag present".

The Python-level argument is required in order to have `--help` know
about the option and to avoid the `mach` shell script having to filter
arguments.

Differential Revision: https://phabricator.services.mozilla.com/D116151
2021-06-02 21:28:56 +00:00
..
devtools/migrate-l10n
docs
gdbpp/gdbpp
l10n Bug 1710955 - Change MR1 upgrade onboarding to Pin then Default then Theme screens r=fluent-reviewers,flod,pdahiya,k88hudson 2021-05-18 03:16:34 +00:00
lldbutils
mach Bug 1713173 - Add --profile-command flag for profiling mach commands. r=firefox-build-system-reviewers,mhentges 2021-06-02 21:28:56 +00:00
mozboot Backed out changeset a9562036bedd (bug 1713818) for causing wrench bustages. 2021-06-02 02:19:35 +03:00
mozbuild Bug 1714156 - Fix lint failures in test_manifest.py 2021-06-02 21:25:07 +03:00
mozlint Bug 1714159 - Handle c:/... and C:/... when making relative paths in mozlint. r=ahal 2021-06-02 21:27:40 +00:00
mozperftest Bug 1695031 - Combine build flags --disable-marionette and --enable-cdp as --disable-webdriver. r=firefox-build-system-reviewers,Gijs,smaug,keeler,jdescottes,glandium 2021-05-25 09:13:28 +00:00
mozrelease Bug 1712150 - take branches into account in release-started email notification. r=releng-reviewers,aki 2021-05-21 12:51:41 +00:00
mozterm
mozversioncontrol No Bug - [mozversioncontrol] xfail 'test_branch.py' with git < 2.22.0, r=bhearsum 2021-04-14 20:49:26 +00:00
mach_commands.py Bug 1712819: Fix VirtualenvManager not being expandable in debugger r=ahal 2021-05-27 23:04:06 +00:00
moz.build
README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025