Граф коммитов

3534 Коммитов

Автор SHA1 Сообщение Дата
Julian Seward 259deac308 Bug 788974 - Don't disable elfhack when enabling profiling on platforms supporting dl_iterate_phdr. r=glandium.
--HG--
extra : rebase_source : b89c14b8a11473e34707447656d8616dd90075c5
2014-11-17 23:43:14 +01:00
Cervantes Yu f980ca7897 Bug 1091533, Part 3: Reset thread id in SPS when a content process is forked. r=BenWa 2014-11-06 19:34:07 +08:00
Cervantes Yu 160428a1e3 Bug 1091533, Part 1: Don't wrap tgkill() on the Nuwa process. r=BenWa 2014-11-06 19:10:52 +08:00
Nicholas Nethercote 8c93740f4f Bug 1089441 - Update the refcount-balancer docs link. r=dbaron.
DONTBUILD because NPOTB.

--HG--
extra : rebase_source : 7e415ac8fd4f028f0cb56f9c5b3949a65a68849e
2014-11-13 14:02:21 -08:00
Nicholas Nethercote 8ca4786797 Bug 1089441 - Move bloattable.pl and bloatdiff.pl into tools/bloatview/. r=dbaron.
DONTBUILD because NPOTB.

--HG--
rename : tools/rb/bloatdiff.pl => tools/bloatview/bloatdiff.pl
rename : tools/memory/bloattable.pl => tools/bloatview/bloattable.pl
extra : rebase_source : cc067b5c5db4b5975629d7ade384f964302f0ee4
2014-11-13 14:02:11 -08:00
Kan-Ru Chen (陳侃如) 5421246824 Bug 1097577 - CreateFakeTracedTask should return a already_AddRefed. r=thinker 2014-11-13 16:57:11 +08:00
Julian Seward 63a104efba Bug 788974 - Don't disable elfhack when enabling profiling on platforms supporting dl_iterate_phdr. r=glandium. 2014-11-10 09:31:09 +01:00
Gina Yeh d33f31e6be Bug 1089514, Patch 1: Some traced tasks/runnables have record of dispatch, but no records of execution, r=thinker.
---
 tools/profiler/TracedTaskCommon.cpp |   19 +++++--------------
 tools/profiler/TracedTaskCommon.h   |   12 ++++++++----
 xpcom/threads/TimerThread.cpp       |    2 ++
 xpcom/threads/nsTimerImpl.cpp       |    3 +++
 xpcom/threads/nsTimerImpl.h         |    2 +-
 5 files changed, 19 insertions(+), 19 deletions(-)
2014-11-04 17:42:03 +08:00
Gregory Szorc c6f29ac3f2 Bug 1091722 - Don't require configure before generating docs; r=glandium
Ever since Sphinx variable reading operates at the AST level (bug
1071012), we don't technically need a fully configured environment in
order to generate the documentation!

This patch stubs out the config environment object with a fake one that
provides the only needed context to generate the Sphinx docs. This
allows us to build the Sphinx docs on a fresh clone of the tree with no
configure and with no object directory.

--HG--
extra : rebase_source : f44513f01706391a5932a20c1437fcc8697611cd
2014-10-30 10:37:00 -07:00
Gregory Szorc 6829c039db Bug 1091722 - Use Read The Docs theme for Sphinx; r=glandium
Read the Docs has a lovely Sphinx theme that beats the pants off the
built-in and default theme. And since it looks like MDN's Sphinx theme
is dead in the water, this gets us a nice UI win until the MDN theme
comes back from the dead.

--HG--
extra : rebase_source : b4f92cf8263843d3118a85a7d9b59b98d5dd0613
2014-10-30 10:09:29 -07:00
Gregory Szorc d0156c0f68 Bug 1091722 - Remove requirements.txt; r=glandium
requirements.txt isn't being used by the documentation infrastructure.
We nuke it.

--HG--
extra : rebase_source : d53ee5c329790d0ed7d75d6d9f451269dda6c485
2014-10-30 10:51:17 -07:00
Andrew Halberstadt dcafcc6e89 Bug 1092149 - Use LooseVersion instead of StrictVersion in |mach mercurial-setup| so release candidates work, r=gps 2014-10-31 15:09:39 -04:00
Mike Hommey 47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Cervantes Yu c9f9da3520 Bug 1064673: Use mozilla::TimeDuration in TaskTracer. r=tlee 2014-10-17 17:33:03 +08:00
Tom Tromey 6ef90806e2 Bug 1088731 - initialize all members of TickSample. r=bgirard 2014-10-24 09:47:00 +02:00
Mike Shal f5046854b9 Bug 1087104 - Implement partial mar generation in make for 'mach build'; r=glandium 2014-10-24 18:24:33 -04:00
Rémy Ferré 3c5d0d44f7 Bug 1058845 - Decode raw_input() as UTF-8; r=gps
DONTBUILD (NPOTB)

--HG--
extra : amend_source : cf4f5e29de43f714ae62f247227b17e65debc710
2014-10-24 15:27:40 -07:00
Nicholas Nethercote 768875003b Bug 1081815 - Remove tools/performance/memtest/, which is ancient and unused. r=ted.
DONTBUILD because NPOTB.
2014-10-23 15:00:27 -07:00
Nicholas Nethercote 757c9c7f67 Bug 1081788 - Remove tools/httptester/, which is ancient and unused. r=ted.
DONTBUILD because NPOTB.
2014-10-23 15:00:26 -07:00
Benoit Girard e56f3b4b68 Bug 737967 - Add simple platform GPU Profiling based on GL_TIME_ELAPSED_EXT. r=ehsan,jgilbert 2014-05-24 16:14:14 +00:00
Mihai Tabara a34b0dbf43 Bug 1083584, Support caching patches in funsize (partial update service), r=rstrong DONTBUILD
--HG--
extra : amend_source : fd2eef1a27cbdcdb777f34a41879bdf6c47f7815
2014-10-23 09:52:25 +13:00
Ryan VanderMeulen fce5fdc4c8 Backed out changeset 157b1f4e4ed2 (bug 737967) for Windows B2G desktop bustage.
CLOSED TREE
2014-10-22 12:44:49 -04:00
Benoit Girard 03e4a59d59 Bug 737967 - Add simple platform GPU Profiling based on GL_TIME_ELAPSED_EXT. r=ehsan,jgilbert 2014-05-24 16:14:14 +00:00
Jed Davis 6688e00977 Bug 1082817 - Limit ARM exidx sorting hack to Android versions that need it. r=BenWa 2014-10-20 14:33:48 -07:00
Nicholas Nethercote 99cb35f533 Bug 1082554 (part 3) - Move diff-talos.py from tools/performance/ to testing/talos/. r=jmaher.
DONTBUILD because NPOTB.

--HG--
rename : tools/performance/diff-talos.py => testing/talos/diff-talos.py
2014-10-15 17:52:41 -07:00
Nicholas Nethercote 9b028957ff Bug 1082554 (part 2) - Remove tools/performance/startup/, which is ancient and unused. r=jmaher.
--HG--
extra : rebase_source : e5236f362fc4829a3586789a85d02b994a80b4e5
2014-10-15 17:52:24 -07:00
Nicholas Nethercote f14c9c4280 Bug 1082554 (part 1) - Remove tools/performance/pageload/, which is ancient and unused. r=jmaher.
--HG--
extra : rebase_source : a1e034264f6c9d5a6ad2ff48f5426a8ec27aa133
2014-10-15 17:52:16 -07:00
Nicholas Nethercote beef012a79 Bug 1081792 - Remove tools/page-loader/, which is ancient and unused. r=dbaron.
DONTBUILD because NPOTB.
2014-10-15 17:49:53 -07:00
Nicholas Nethercote 65c3211a89 Bug 1081777 - Remove tools/test-harness/, which is ancient and unused. r=bz.
DONTBUILD because NPOTB.
2014-10-15 17:47:03 -07:00
L. David Baron 87f3b1c183 Bug 914253 patch 10 - Two more comment tweaks. No review.
DONTBUILD
2014-10-15 14:50:58 -07:00
L. David Baron f0d7cafc2c Bug 1082265 followup - One more comment tweak.
DONTBUILD
2014-10-15 14:50:57 -07:00
Bobby Holley fef572e932 Bug 1082450 - Fix quitter extension. r=gabor 2014-10-15 15:05:08 +02:00
Nicholas Nethercote 3daa14b33f Bug 1081805 - Remove tools/uuiddeps/, which is ancient and unused. r=bz.
DONTBUILD because NPOTB.

--HG--
extra : rebase_source : ecd587dce56664dd2fc330e06bb43fc9c3c988ae
2014-10-14 20:48:57 -07:00
Jim Chen 0c35b09fce Bug 1077662 - Add PROFILER_LABEL_FUNC macro; r=BenWa 2014-10-14 23:20:16 -04:00
Nicholas Nethercote 8d7f25499b Bug 1081809 - Remove tools/tests/, which is ancient and unused. r=roc.
DONTBUILD because NPOTB.

--HG--
extra : rebase_source : fa88d5c93abdbc04fbbb01ae26a476479a049d37
2014-10-14 15:44:05 -07:00
Nicholas Nethercote 6807ed1a65 Bug 1081812 - Remove tools/performance/layout/, which is ancient and unused. r=dbaron.
--HG--
extra : rebase_source : 9448be307e04eac8671359b913761f23d613f430
2014-10-14 15:42:08 -07:00
Nicholas Nethercote c33d9f13c9 Bug 1081776 - Remove tools/reorder/, which is ancient and unused. r=froydnj.
--HG--
extra : rebase_source : 55ef98f695525a1cae177b3572aea05e4b854e91
2014-10-14 15:41:32 -07:00
Shelly Lin 88e9509938 Bug 992454 - Part 2: Integrate TaskTracer into GeckoProfiler. r=benwa. 2014-10-14 10:56:44 +08:00
Shelly Lin ext:(%2CCervantes%20Yu%20%3Ccyu%40mozilla.com%3E) 89b484cd7a Bug 992454 - Part 1: Log TaskTracer data into string buffers and bug fixes. r=khuey. 2014-10-14 10:47:59 +08:00
L. David Baron d47e352392 Bug 1082265 followup - Remove obsolete comment. DONTBUILD 2014-10-13 18:33:52 -07:00
L. David Baron 456c443047 Bug 1082265 - Rewrite split-profile.pl in python.
This adds arguments for the paths to jprof, the program being profiled,
and the jprof profile itself, so I don't need to modify my local copy of
split-profile.pl to fix those.

DONTBUILD

--HG--
extra : transplant_source : %97%D5%A6%1C%A86%5E%AC%F7%FB%A7%8D%B0L%1D%17%FDK%EA%9F
2014-10-13 18:20:21 -07:00
Nicholas Nethercote a3be9b323b Bug 1080291 (part 5) - Rename tools/footprint/ as tools/leak-gauge/. r=dbaron.
DONTBUILD because this directory is NPOTB.

--HG--
rename : tools/footprint/leak-gauge.html => tools/leak-gauge/leak-gauge.html
rename : tools/footprint/leak-gauge.pl => tools/leak-gauge/leak-gauge.pl
2014-10-12 17:29:35 -07:00
Nicholas Nethercote 397225041a Bug 1080291 (part 4) - Remove Gross Dynamic Footprint Reports code. r=dbaron.
--HG--
extra : rebase_source : 7997773bc860a58a85514a55cbf93a118cd33d58
2014-10-12 17:29:27 -07:00
Nicholas Nethercote 21353b7f88 Bug 1080291 (part 3) - Remove watch.sh. r=dbaron.
--HG--
extra : rebase_source : dbb2e4f5940e6844b39edee3e70d3cca83efbc5f
2014-10-12 17:29:18 -07:00
Nicholas Nethercote 6d6877e400 Bug 1080291 (part 2) - Remove thrashview.cpp. r=dbaron.
--HG--
extra : rebase_source : 2f5821a3de1e6a8fdef31a65bbb7d88530c9bab7
2014-10-12 17:29:10 -07:00
Nicholas Nethercote 708cbdcb0b Bug 1080291 (part 1) - Remove foldelf.cpp. r=glandium.
--HG--
extra : rebase_source : 0629b09f791818252e6fdafbb74c3465ed2612fe
2014-10-08 18:56:42 -07:00
Benoit Girard b2dec4e821 Bug 1054110 - Let profiling circular buffer survive thread shutdown. r=ehsan 2014-10-06 14:12:52 -04:00
Gregory Szorc bf611d5f95 Bug 1071012 - Extract Sphinx variables via AST reading; r=glandium
The in-tree Sphinx docs have been broken since bug 1041941 because
processing moz.build files outside their context doesn't work.
Specifically, templates aren't loaded (because this information usually
comes from a parent moz.build file). A new execution mode is needed.

I tried to implement a proper execution mode. However, I kept running
into walls. While we should strive for a proper execution mode, this can
be a follow-up, tracked in bug 1058359.

This patch implements extraction of Sphinx variables from ast walking.
It is extremely low-level and definitely a one-off. But it solves the
problem at hand: |mach build-docs| will work after this patch is
applied.

--HG--
extra : rebase_source : abd0a91a3efb24d3adfa19f4cd281ce5fd6d0915
extra : amend_source : c1b4f79224bab55e65a8c2b0f3103475281416c1
2014-10-07 10:36:27 -07:00
Andrew Halberstadt d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Mike Hommey 417a2977b3 Bug 1076649 - Remove the '+' prefixing from mach commands with allow_all_arguments=True. r=gps
The reason to use '+' prefixing was to distinguish between options to the
mach command itself, and options that are passed down to whatever the
command does (like mach run passing down args to the built application).
That makes things unnecessarily awkward, and quite non-standard.

Instead, use standard '-' prefixing, and pass all the unknown arguments
down. If there is overlap between the known arguments and arguments supported
by the underlying tool (like -remote when using mach run), it is possible to
use '--' to mark all following arguments as being targetted at the underlying
tool.

For instance:
    mach run -- -remote something
would run
    firefox -remote something
while
    mach run -remote something
would run
    firefox something

As allow_all_arguments is redundant with the presence of a argparse.REMAINDER
CommandArgument, allow_all_arguments is removed. The only mach command with a
argparse.REMAINDER CommandArgument without allow_all_arguments was "mach dmd",
and it did so because it didn't want to use '+' prefixes.
2014-10-07 07:36:27 +09:00