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

3733 Коммитов

Автор SHA1 Сообщение Дата
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
Ben Hearsum 35ff8e3695 bug 1075723: use different signing format for 64-bit windows builds - fix external packaging special casing. r=mshal, a=bustage 2014-10-06 12:21:29 -04:00
Mason Chang 7bb63f5b26 Bug 1073545 - Add Vsync Markers to SPS Profiler. r=benwa 2014-10-01 13:01:59 -07:00
Nicholas Nethercote 94adb30f77 Bug 1062709 (part 2, attempt 2) - Clean up stack printing and fixing. r=dbaron.
--HG--
extra : rebase_source : 626fd23a14ec90cfc9807c3d555169ec6463d19d
2014-09-01 22:56:05 -07:00
Nicholas Nethercote 2eb56008e2 Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
--HG--
extra : rebase_source : 4f7060a9ae0bed180899651c50e8ea8857e72d63
2014-09-10 21:47:01 -07:00
Ed Morley 2d0f9579b5 Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs 2014-10-03 15:06:16 +01:00
Ed Morley 9e223d8a19 Backed out changeset 7a1b7d7eba12 (bug 1062709) 2014-10-03 15:05:26 +01:00
Ryan VanderMeulen 69189df8b7 Merge b-i to m-c. a=merge 2014-10-02 12:51:02 -04:00
Nicholas Nethercote 5a257b83f9 Bug 1062709 (part 2) - Clean up stack printing and fixing. r=dbaron.
--HG--
extra : rebase_source : 18158d4474cb8826813a3866eba57b710e14db99
2014-09-01 22:56:05 -07:00
Nicholas Nethercote c9c64de53c Bug 1062709 (part 1) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
--HG--
extra : rebase_source : 0f9b2d6310433ed56f5552706fcf2a96571aee25
2014-09-10 21:47:01 -07:00
Alexis Metaireau 98029cd385 Bug 1071133 — Make sure mercurial-setup knows how to handle unicode characters. r=gps 2014-09-22 20:03:17 +02:00
Mike Hommey 03d37a29c7 Bug 1063414 - Make DIRS relative to the file they were added from. r=gps 2014-10-02 09:14:07 +09:00
Mike Hommey 26049ee2f7 Bug 1062221 - Replace add_tier_dir with DIRS. r=gps 2014-10-02 09:14:07 +09:00
Carsten "Tomcat" Book 4b13350a83 Merge m-c to b2g-inbound 2014-09-30 15:42:26 +02:00
Kan-Ru Chen (陳侃如) 5bbbbfcab1 Bug 1062794 - TaskTracer: Allow UNKNOWN source event id. r=khuey
--HG--
extra : rebase_source : 2a1238b9b49703c1c2aecbbe8616ac8c199fe874
2014-09-30 11:03:53 +08:00
Robert Strong 4b1ebec40c Mac v2 signing - Bug 1074044 - Force add instead of patch the removed-files file. r=bhearsum 2014-09-29 11:53:15 -07:00
Robert Strong e401342c35 Mac v2 signing - Bug 1059567 - Packaging changes for the move of removed-files file from Contents/MacOS to Contents/Resources. r=bbondy, r=nthomas
--HG--
rename : tools/update-packaging/test/from-mac/Contents/MacOS/application.ini => tools/update-packaging/test/from-mac/Contents/Resources/application.ini
rename : tools/update-packaging/test/from-mac/Contents/MacOS/distribution/extensions/diff/diff-patch-larger-than-file.txt => tools/update-packaging/test/from-mac/Contents/Resources/distribution/extensions/diff/diff-patch-larger-than-file.txt
rename : tools/update-packaging/test/from-mac/Contents/MacOS/extensions/diff/diff-patch-larger-than-file.txt => tools/update-packaging/test/from-mac/Contents/Resources/extensions/diff/diff-patch-larger-than-file.txt
rename : tools/update-packaging/test/from-mac/Contents/MacOS/readme.txt => tools/update-packaging/test/from-mac/Contents/Resources/readme.txt
rename : tools/update-packaging/test/from-mac/Contents/MacOS/removed.txt => tools/update-packaging/test/from-mac/Contents/Resources/removed.txt
rename : tools/update-packaging/test/from-mac/Contents/MacOS/same.txt => tools/update-packaging/test/from-mac/Contents/Resources/same.txt
rename : tools/update-packaging/test/from-mac/Contents/MacOS/searchplugins/diff/diff-patch-larger-than-file.txt => tools/update-packaging/test/from-mac/Contents/Resources/searchplugins/diff/diff-patch-larger-than-file.txt
rename : tools/update-packaging/test/from-mac/Contents/MacOS/update-settings.ini => tools/update-packaging/test/from-mac/Contents/Resources/update-settings.ini
rename : tools/update-packaging/test/from-mac/Contents/MacOS/{foodir/channel-prefs.js => tools/update-packaging/test/from-mac/Contents/Resources/{foodir/channel-prefs.js
rename : tools/update-packaging/test/from-mac/Contents/MacOS/{foodir/force.txt => tools/update-packaging/test/from-mac/Contents/Resources/{foodir/force.txt
rename : tools/update-packaging/test/to-mac/Contents/MacOS/application.ini => tools/update-packaging/test/to-mac/Contents/Resources/application.ini
rename : tools/update-packaging/test/to-mac/Contents/MacOS/distribution/extensions/added/file.txt => tools/update-packaging/test/to-mac/Contents/Resources/distribution/extensions/added/file.txt
rename : tools/update-packaging/test/to-mac/Contents/MacOS/distribution/extensions/diff/diff-patch-larger-than-file.txt => tools/update-packaging/test/to-mac/Contents/Resources/distribution/extensions/diff/diff-patch-larger-than-file.txt
rename : tools/update-packaging/test/to-mac/Contents/MacOS/extensions/added/file.txt => tools/update-packaging/test/to-mac/Contents/Resources/extensions/added/file.txt
rename : tools/update-packaging/test/to-mac/Contents/MacOS/extensions/diff/diff-patch-larger-than-file.txt => tools/update-packaging/test/to-mac/Contents/Resources/extensions/diff/diff-patch-larger-than-file.txt
rename : tools/update-packaging/test/to-mac/Contents/MacOS/readme.txt => tools/update-packaging/test/to-mac/Contents/Resources/readme.txt
rename : tools/update-packaging/test/to-mac/Contents/MacOS/removed-files => tools/update-packaging/test/to-mac/Contents/Resources/removed-files
rename : tools/update-packaging/test/to-mac/Contents/MacOS/same.txt => tools/update-packaging/test/to-mac/Contents/Resources/same.txt
rename : tools/update-packaging/test/to-mac/Contents/MacOS/searchplugins/added/file.txt => tools/update-packaging/test/to-mac/Contents/Resources/searchplugins/added/file.txt
rename : tools/update-packaging/test/to-mac/Contents/MacOS/searchplugins/diff/diff-patch-larger-than-file.txt => tools/update-packaging/test/to-mac/Contents/Resources/searchplugins/diff/diff-patch-larger-than-file.txt
rename : tools/update-packaging/test/to-mac/Contents/MacOS/update-settings.ini => tools/update-packaging/test/to-mac/Contents/Resources/update-settings.ini
rename : tools/update-packaging/test/to-mac/Contents/MacOS/{foodir/channel-prefs.js => tools/update-packaging/test/to-mac/Contents/Resources/{foodir/channel-prefs.js
rename : tools/update-packaging/test/to-mac/Contents/MacOS/{foodir/force.txt => tools/update-packaging/test/to-mac/Contents/Resources/{foodir/force.txt
2014-09-29 11:52:04 -07:00
Robert Strong 2230b3918e Mac v2 signing - Bug 1059467 - Move precomplete file from the root of the Mac bundle to Contents/Resources. r=bbondy, r=nthomas
--HG--
rename : tools/update-packaging/test/from-mac/precomplete => tools/update-packaging/test/from-mac/Contents/Resources/precomplete
rename : tools/update-packaging/test/to-mac/precomplete => tools/update-packaging/test/to-mac/Contents/Resources/precomplete
2014-09-29 11:51:55 -07:00
Tom Schuster 7782444d76 Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu 2014-09-23 15:25:31 +02:00
Wander Lairson Costa 9ad6d9f69c Bug 1061800 - Add breakpad ids to profiler in Linux. r=BenWa
By default, breakpad uses the build-id section for ids, if it isn't
found, it uses the .text section. On the later case, the stripped
libraries will have different ids from their non-stripped counterparts.

See Bug 1062459 for details.
2014-09-09 13:44:00 +02:00
Benoit Girard e5339b9d7f Bug 1065122 - Count ProfilerBacktrace ctor/dtor. r=trivial
--HG--
extra : rebase_source : 2bfe5cd0e57136e6841e0829be882d0a8f3cd3e8
2014-09-16 15:35:55 -04:00
Ehsan Akhgari a23b1f37d8 Bug 1065668 - Fix more bad implicit ctors in profiler; r=BenWa 2014-09-10 22:06:53 -04:00
Ryan VanderMeulen 8777ff4fa0 Merge fx-team to m-c. a=merge 2014-09-09 19:05:41 -04:00
Patrick Brosset fb1884e4ec Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 20:54:08 +02:00
Mason Chang 8b0a694ba0 Bug 1049258 - Make it easier to collect frame uniformity results. r=benwa 2014-09-05 12:39:59 -07:00
Chris Peterson d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Nicholas Nethercote 2a6091aa99 Bug 1062689 - Run local mochitest and reftest output through fix_macosx_stack.py on Mac. r=ted. 2014-09-04 22:19:42 -07:00
Nicholas Nethercote ab2d367e37 Bug 1050601 - Remove fix-linux-stack.pl. r=ted.
--HG--
extra : rebase_source : f344aa5db9e16575835a7de3df34c311635c128b
2014-09-03 09:24:38 -07:00
Mike Hommey 4b99580194 Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey 0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ehsan Akhgari a725e9f55f Bug 1061248 - Fix some bad implicit constructors in LUL; r=BenWa 2014-09-02 09:45:28 -04:00
Ehsan Akhgari 66e1349be9 Bug 1061048 - Fix some bad impliciti constructors in profiler; r=BenWa 2014-09-02 09:44:54 -04:00
Gian-Carlo Pascutto 9859ea01c2 Bug 1055675 - Work around MSVC2010 issue in trace-malloc. r=bsmedberg 2014-08-19 13:29:00 +02:00
Jim Chen 2303d24f38 Bug 1013004 - Fix support for sampling intervals > 1 second; r=BenWa 2014-08-19 15:34:49 -04:00
Vikrantsingh Bisen c5d949300d Bug 1053067 - Correct a misspelling of "version" in mach. r=edmorley 2014-08-15 23:45:00 -04:00
Mike Hommey f287c057c6 Bug 1053140 part 3 - Separate out sandbox infrastructure from moz.build variables storage. r=gps
--HG--
rename : python/mozbuild/mozbuild/frontend/sandbox_symbols.py => python/mozbuild/mozbuild/frontend/context.py
rename : python/mozbuild/mozbuild/test/frontend/test_sandbox_symbols.py => python/mozbuild/mozbuild/test/frontend/test_context.py
2014-08-15 13:52:18 +09:00
Markus Stange 147918b398 Bug 1047391 - Use the correct nm binary in nm-symbolicate.py. r=BenWa 2014-08-07 13:23:11 +02:00
Mike Hommey 89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Nigel Babu 300e8d1273 Merge m-c to m-i 2014-08-07 09:29:45 +05:30
Nigel Babu bf91c75128 Merge m-i to m-c 2014-08-07 08:47:18 +05:30
L. David Baron 9ace968019 Bug 914253 patch 10 - Revert inadvertent change from previous commit. No review. DONTBUILD 2014-08-06 19:23:54 -07:00
L. David Baron 4771b1591a Bug 914253 patch 9 - Implement CRC checking for .gnu_debuglink section. No review.
This is needed to avoid regressions relative to the perl version because
the perl version failed, due to a missing /, to properly examine two of
the paths, one of which often yields the same filename as the original
file (but whose CRC will fail).

I've tested that this CRC calculation succeeds in cases where it should
succeed.

The observed CRC check failures (so far) on my Ubuntu 14.04 system are
the following links:
  /lib/x86_64-linux-gnu/libc.so.6 -> /lib/x86_64-linux-gnu/libc-2.19.so
  /lib/x86_64-linux-gnu/libpthread.so.0 -> /lib/x86_64-linux-gnu/libpthread-2.19.so
  /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 -> /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.23
  /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 -> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.23
which succeed on a later possibility in /usr/lib/debug/.  But optimizing
to check f != file before checking the CRC wouldn't help because of the
naming differences due to symlinks, so I didn't bother.  If we ever want
to optimize away the time doing the CRC checks for these failures, we
could do so by checking if the files are the same path *after* resolving
symlinks.

DONTBUILD
2014-08-06 19:21:44 -07:00
L. David Baron 23a079be1f Bug 914253 patch 8 - Ignore useless results from addr2line and keep what we had before, like fix-linux-stack.pl does. No review.
DONTBUILD
2014-08-06 19:21:43 -07:00
L. David Baron a295321bfa Bug 914253 patch 7 - Remove some debugging code and the remnants of the old address adjustment code. No review.
DONTBUILD
2014-08-06 19:21:43 -07:00
L. David Baron e71c46556e Bug 914253 patch 6 - Linux stacks are lowercase hexidecimal (although this was temporarily not true due to bug 939610, which is probably when mccr8 started fix_linux_stack.py). No review. 2014-08-06 15:52:49 -07:00
L. David Baron d67e757dc8 Bug 914253 patch 5 - Implement caching of addr2line results, like bug 812070 did for fix-linux-stack.pl. No review. 2014-08-06 15:52:49 -07:00
L. David Baron 78433924c6 Bug 914253 patch 4 - Implement address adjustment for fix_linux_stack.py. No review. 2014-08-06 15:52:48 -07:00
L. David Baron bf2f9b43a6 Bug 914253 patch 3 - Implement separate debug info for fix_linux_stack.py, including the addition of support for .note.gnu.build-id sections that fix-linux-stack.pl did not support. No review. 2014-08-06 15:52:48 -07:00
L. David Baron f328e95241 Bug 914253 patch 2 - Pull opening comment from fix-linux-stack.pl. No review. 2014-08-06 15:52:48 -07:00
Andrew McCreight 8ee8cdc74b Bug 914253 patch 1 - Initial version of fix_linux_stack.py, based on slightly old version of fix_macosx_stack.py. No review.
--HG--
rename : tools/rb/fix_macosx_stack.py => tools/rb/fix_linux_stack.py
2014-08-06 15:52:48 -07:00
Felix Baylac-Jacque d722dd07e7 Bug 1049893 - Allow mach mercurial-setup to work if no ~/.hgrc exists; r=gps
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 8788d55cd5cfa5e64627d7951209c5f2c1222f0a
2014-08-07 00:19:06 +02:00
Mike Hommey d9443ec932 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Mike Hommey ba90332378 Bug 1048654 - Remove support for building trace-malloc against libgd. r=mshal 2014-08-06 07:24:46 +09:00
Randell Jesup 1d907f4c12 Bug 1045783: fix typo that broke --enable-jprof r=ted NPOTB DONTBUILD 2014-08-06 11:31:22 -04:00
Ed Morley 7644bb7745 Merge mozilla-central and inbound 2014-08-05 16:32:17 +01:00
Gregory Szorc 5b730a4079 Bug 1040416 - Remove javasphinx extension from Sphinx config; r=nalexander
The extension was added by accident in bug 1033686.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 18c2679d14b83ddf6f284052609a39ed2f405929
2014-07-23 09:22:48 -07:00
Thinker Li 46cefdd893 Bug 977026 - Part 1: Allow thread registering before the profiler is initialized. r=BenWa 2014-07-25 20:52:00 -04:00
Nathan Froyd d6ed55758e Bug 1044162 - part 0a - make additions to EXTRA_JS_MODULES use += instead of =; r=mshal
Straight assignments to HierarchicalStringList, which we'll change
EXTRA_JS_MODULES to in a later patch, don't work.  This change, in
addition to making things work as expected later on, also is more
consistent with existing practice.
2014-07-25 13:50:55 -04:00
Luke Wagner e02871c009 Bug 1040390 - Add asm.js profiling xpcshell test (r=bgirard)
--HG--
extra : rebase_source : 3d14941fce80331c1f9b5fdd0fe7258bdc251f30
2014-07-29 09:56:22 -05:00
Luke Wagner 0accc7e372 Bug 1040390 - Integrate JS::ProfilingFrameIterator with the profiler (r=bgirard)
--HG--
extra : rebase_source : 7f9a022fb16a353d22242f60cfae4e5659798752
2014-07-29 09:56:22 -05:00
Mike Hommey 9424087517 Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE. 2014-07-29 14:50:41 +09:00
Wes Kocher 1ce0c3e306 Merge m-c to inbound on a CLOSED TREE 2014-07-28 18:51:24 -07:00
Thinker Li 0665d01207 Bug 977026 - part 1: allow thread registering before the profiler is initialized. r=bgirard 2014-07-25 20:52:00 +02:00
Jim Chen 2c37ec4d46 Bug 1016629 - f. Don't call dl_iterate_phdr if it's not available; r=BenWa 2014-07-28 13:30:21 -04:00
Ehsan Akhgari bb15d81dce Bug 1045068 - Fix some bad implicit constructors in Gecko profiler; r=BenWa 2014-07-28 13:11:26 -04:00
Mike Hommey 7cab62150a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey 95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey 5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey 45b81608ea Bug 1040641 - Ignore AC_SUBSTs for variables we don't have use for but that autoconf itself exports. r=gps 2014-07-23 08:40:12 +09:00
Mike Hommey 622bf09730 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Octoploid 18faaeac6a bug 1036401 - adjust includes to fix up some issues with complete types instead of forward declarations being required r=bz r=bjacob 2014-07-22 11:29:33 -04:00
Patrick Cloke 114d16e26a Bug 1047592 - mercurial-setup should error when trying to read a config with %include. r=gps 2014-08-05 09:42:33 -04:00
Carsten "Tomcat" Book 9832be43c6 Backed out changeset 4cd08369896b (bug 1016629) 2014-07-25 15:59:42 +02:00
Jim Chen de9557ba6a Bug 1016629 - f. Don't call dl_iterate_phdr if it's not available; r=BenWa 2014-07-24 22:33:48 -04:00
Mike Hommey d3f990ebdb Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
Gregory Szorc 1e3f120dc8 Bug 1039894 - Add bzpost and firefoxtree to mach mercurial-setup; r=smacleod
bzpost is an efficiency win for everyone.

firefox tree is mostly useful for people doing head/bookmark-based
development.

Both extensions can yield massive productivity wins. They should be
advertised.

DONTBUILD (NPOTB) on a CLOSED TREE

--HG--
extra : rebase_source : ab72d3afd6ab244bfdbdb2dda5e0b45c9d8f782e
extra : amend_source : 91ec7523a4631c7519efd3b6cd425cff00bd0569
2014-07-16 19:18:49 -07:00
Chris Kitching c4f8d32e63 Bug 1039164: Prettier handling of invalid hgrc files by mach. r=gps 2014-07-17 01:21:06 +01:00
Jim Chen b797caaf45 Bug 1007824 - Use signal trampoline for profiler signal handler; r=BenWa 2014-07-15 12:45:40 -04:00
Ryan VanderMeulen 58c90485f3 Merge m-c to fx-team. a=merge 2014-07-11 16:43:23 -04:00
Eric Edens 387fa5673a Bug 1033686 - Make sure pre-search and post-search replace each other. r=nalexander
--HG--
rename : mobile/android/search/java/org/mozilla/search/DetailActivity.java => mobile/android/search/java/org/mozilla/search/PostSearchFragment.java
rename : mobile/android/search/java/org/mozilla/search/stream/CardStreamFragment.java => mobile/android/search/java/org/mozilla/search/PreSearchFragment.java
rename : mobile/android/search/java/org/mozilla/search/autocomplete/AutoCompleteFragment.java => mobile/android/search/java/org/mozilla/search/autocomplete/SearchFragment.java
2014-07-11 11:42:37 -07:00
Mike Hommey 70a5917917 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Benoit Girard 1d7923c3cd Bug 960520 - Set generation id before adding the markers. r=jseward
--HG--
extra : rebase_source : 89fe0e02c0fedc65f111aec0367d70fdc10b787c
2014-07-09 15:11:14 -04:00
Julian Seward d231b2813f Bug 1031272 - Remove fixed timeout in test_enterjit_osr.js. r=jld. 2014-07-09 20:53:39 +02:00
Julian Seward 4b7013ef28 Bug 1031284 - Fix assertion failures for pseudostack unwinds using SPS+LUL. r=bgirard 2014-07-09 15:25:04 +02:00
Benoit Jacob de92bf1865 Bug 1035394 - Fix dangerous public destructors in tools/profiler - r=benwa 2014-07-08 17:23:17 -04:00
Gregory Szorc c5c6819b0f Bug 1033656 - Add reviewboard to mach mercurial-setup; version checking; r=smacleod
We want to make it turnkey for people to use reviewboard. So, we add
reviewboard and related functionality to |mach mercurial-setup|.

Since the reviewboard extension only works in Mercurial 3.0 and newer,
we add some version detection for the Mercurial version. This should
have been done months ago. We now have it.

I also took the opportunity to inform |mach bootstrap| that Mercurial
2.x is no longer modern.

I also updated the messaging around mq to encourage fewer new users to
use it. You may find this controversial. People can always ignore the
message.

Finally, I also added a histedit prompt to the mix, since a lot of
people don't know about that and many find it useful.

I could have broken this into multiple patches. Meh.

--HG--
extra : rebase_source : d33f8abcabb6ad6511c2f9e202283d43613fafc4
extra : amend_source : 3a56bc4d49ee6200cbdd0e87b4f28489518fee79
2014-07-02 14:05:42 -07:00
Steve Fink 53a9930d07 Bug 1022773 - Return value rooting for SPS, r=ehsan
--HG--
extra : rebase_source : 74b0f8b928271ee05e0bebb1904ebb7177e397b3
2014-06-25 15:35:37 -07:00
Anhad Jai Singh 9a2a8959f1 Bug 1029870, update make_incremental_update.sh to allow passing Product Version and Channel ID, r=nthomas DONTBUILD
--HG--
extra : rebase_source : 824e10d22e04562cc10bd5f080ba416aa066ab51
2014-07-01 11:24:56 +12:00
Chris Peterson 7cfcbb1631 Bug 1031167 - Fix non-unified OS X build's warnings-as-errors in tools/profiler. r=BenWa 2014-06-26 23:34:20 -07:00
Jan Beich 83cc5240c1 Bug 1029948 - Stop providing TimeStamp/TimeDuration in global scope via GeckoProfiler.h on SPS platforms. r=benwa 2014-06-25 07:38:00 +02:00
Carsten "Tomcat" Book 48f0f82363 merge fx-team to mozilla-central a=merge 2014-06-25 15:34:21 +02:00
Jim Blandy 7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob dd08a67adb Bug 1028588 - Fix dangerous public destructors in miscellaneous places - r=ehsan 2014-06-23 18:40:03 -04:00
Victor Porof f857d0aba9 Bug 1020541 - JS Stacks no longer reported in the profiler, r=benwa,djvj 2014-06-24 21:46:13 -04:00
Birunthan Mohanathas bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Carsten "Tomcat" Book e6b190e7a8 merge fx-team to mozilla-central a=merge 2014-06-17 14:09:46 +02:00
Gregory Szorc f67d95ca12 Bug 987332 - Disable MDN theme until it works; r=nalexander
The MDN theme is currently busted. This patch reverts to the default
Sphinx theme so we have docs that are more usable.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 407dedaa2c200560a5e972998489f19a4bcdbe11
2014-06-16 14:53:49 -07:00
Benoit Girard 1387c9241d Bug 1025704 - Add --video flag to merge-profiles.py. r=ehsan 2014-06-16 18:32:42 -04:00
Benoit Girard beb4fd14be Bug 1021990 - Migrate to xpcom based EventTracer. r=ehsan 2014-06-06 17:53:42 -04:00
Benoit Girard 57caba6f24 Bug 1021072 - Remove GetResponsivenessTimes. r=ehsan 2014-06-13 22:32:13 -04:00
Benoit Girard 1581637a61 Bug 1024063 - Make the 'threads' feature implicit if thread filter is specific. r=ehsan 2014-06-11 15:53:50 -04:00
Nicolas B. Pierron e05d0c8fe9 Bug 1014071 - Add support for USS on Linux. r=BenWa,njn 2014-06-05 08:31:09 -07:00
Victor Porof b3b4be1879 Bug 1017790 - Expose category information in the profiler data, r=djvj 2014-06-04 14:37:49 -04:00
Victor Porof 90e774e163 Bug 1019182 - ProfileEntry flags should be zeroed when setting frame data, r=djvj 2014-06-04 14:37:49 -04:00
Victor Porof ebedad1bb5 Bug 1007203 - Set the categories as flags on profile entries, r=djvj 2014-05-30 21:41:11 -04:00
Ryan VanderMeulen 74de488875 Merge fx-team to m-c. 2014-05-30 16:04:16 -04:00
Chia-hung Tai 6469f3889a Bug 1015860 - Change ATRACE_TAG to ATRACE_TAG_ALWAYS in Gecko Profiler. r=BenWa 2014-05-27 15:12:21 +08:00
Victor Porof 07cede5f0b Bug 1004726 - Clean up profiler pseudo-stack representation (relanded), r=djvj,jchen 2014-05-28 18:44:41 -04:00
Mike de Boer ddfe3d4793 Bug 1014482: make existing tests compatible with global Assert.jsm methods. r=gps 2014-05-30 16:26:48 +02:00
Victor Porof 9e41feb374 Backed out changeset c2429d6c41fb (Bug 1004726) for regressions on B2G, r=me 2014-05-26 21:51:50 -04:00
Benoit Girard dfc8cc59ba Bug 1014382 - Add nm-symbolicate.py helper script. r=jrmuizel DONTBUILD as NPOTB 2014-05-22 05:00:28 +00:00
Birunthan Mohanathas 0e6f3a6562 Bug 869836 - Part 3: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan 2014-05-22 06:48:51 +03:00
Carsten "Tomcat" Book e64cd11ad7 merge fx-team to mozilla-central 2014-05-21 13:57:43 +02:00
Victor Porof 07986ca4cd Bug 1004726 - Clean up profiler pseudo-stack representation. r=djvj,mrosenberg 2014-05-20 15:25:25 -04:00
Nicolas B. Pierron 7397882124 Bug 988332 - Report RSS in Gecko's profiles. r=BenWa 2014-05-19 11:31:31 -07:00
Nicholas Nethercote c8ef15deb3 Bug 1013078 (part 2) - Remove some dead code in tools/jprof/stub/libmalloc.h. r=dbaron.
--HG--
extra : rebase_source : 6d94aa82432e255684dacefb3e39891cb1bdc208
2014-05-20 18:05:17 -07:00
Ed Morley 72a83ecd04 Bug 1010082 - Fix |mach dxr| URL; f=erikrose 2014-05-14 16:26:17 +01:00
Ryan VanderMeulen 4f6ccf8cd8 Merge m-c to b2g-inbound. 2014-05-13 16:27:50 -04:00
Steve Singer abc85b65e4 Bug 1009291 - Forward declare ProfilerBacktrace before it is used. r=BenWa 2014-05-12 17:11:00 -04:00
Julian Seward e012f2a4d8 Bug 999348 - [flatfish] Build faild in gecko/tools/profiler/LulElf.cpp. r=glandium. 2014-05-13 21:26:33 +02:00
Aaron Klotz 249ed48c5d Bug 977446 - Fix erroneous assertion triggered during SyncProfile destruction; r=sewardj 2014-04-22 12:42:15 +02:00
Benoit Girard 7e6ec54552 Bug 1004899 - Add stderr to profile output. r=ehsan
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Benoit Girard 7bc6762bed Bug 926922 - Log reason for layout flushes in profiles. r=ehsan,bz
--HG--
extra : rebase_source : 5383b80a1d0d1ddb36351dea1ad44f27b93001a2
2014-04-22 14:13:00 -04:00
Roberto A. Vitillo 27a423ebef Bug 880864 - User dictionary (persdict.dat) read on main thread. r=mayhemer 2014-05-07 06:35:00 -04:00
Robert O'Callahan 7043c985ba Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00
Ehsan Akhgari 57c249bbff Backed out changeset 70946e64e8f8 (bug 1005704) because it caused bug 1006541 2014-05-06 16:39:39 -04:00
Ehsan Akhgari 15aa0ce41b Bug 1005704 - Enable installing files dist files without preprocessing; r=mshal 2014-05-05 21:26:11 -04:00
Benoit Girard cf49cd697a Bug 1005204 - Enable JSStreamWriterTest. no reviews, just enabling a test. 2014-05-02 13:34:29 -04:00
Viktor Stanchev 72b8f5c8ae Bug 986160 - Create unit tests for the Gecko Profiler. r=benwa 2014-04-07 15:29:07 -04:00
Benoit Girard 7d7a2f9d30 Bug 1004716 - Adjust marker timestamps when merging profiles. r=ehsan DONTBUILD because NPOTB
--HG--
extra : rebase_source : 446f59d60e1508a9d05b7e55f2793ba6556e09ad
2014-05-01 17:53:23 -04:00
Benoit Girard 1064619116 Bug 1004677 - Restore double precision startTime. r=bjacob
--HG--
extra : rebase_source : 1579e50c3fcf44053ed83dc2411941120229729d
2014-05-01 16:27:36 -04:00
Jim Chen e8ad92a6ac Bug 999071 - Don't notify observers in profiler when used by Android ANR reporter; r=BenWa 2014-04-28 22:20:51 -04:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Wes Kocher 45d885681c Backed out changeset 60b6bdaafba7 (bug 999071) for android 2.3 rc1 orange 2014-04-25 14:50:31 -07:00
Jim Chen f3a501bb51 Bug 999071 - Don't notify observers in profiler when used by Android ANR reporter; r=BenWa 2014-04-25 12:38:18 -04:00
Wes Kocher d477a31fd8 Backed out 3 changesets (bug 999071) for Android rc1 failures
Backed out changeset ddf970be0abd (bug 999071)
Backed out changeset 8d2738b22275 (bug 999071)
Backed out changeset b82a8c50aa90 (bug 999071)
2014-04-24 18:12:46 -07:00
Jim Chen c9f29c93c9 Bug 999071 - Don't notify observers in profiler when used by Android ANR reporter; r=BenWa 2014-04-24 17:49:01 -04:00
Shelly Lin 6437f8163e Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey. 2014-03-27 16:49:06 +08:00
Shelly Lin 31efa9372b Bug 908995 - Part 1: The core implementation of TaskTracer. r=khuey. 2014-03-27 16:44:30 +08:00
Viktor Stanchev 11dae83d41 Bug 867728 - Add tests for JSStreamWriter. r=bgirard
--HG--
extra : rebase_source : ee679794165b171ec89dfc2785647ffa7cb7f009
2014-04-21 16:52:40 -04:00
Viktor Stanchev 549fb2406d Bug 867728 - Stream profiler JSON directly to a file. r=bgirard,terrence
--HG--
extra : rebase_source : 3472eb981d0c8778be318b3d51b51edfe8c1c96a
2014-04-21 16:48:47 -04:00
Viktor Stanchev 0f296aff8a Bug 996285 - Profiler stops duplicating samples during sleeping periods after buffer wraps. r=benwa 2014-04-21 11:46:48 -04:00
Aaron Klotz 5eb20f9c87 Bug 935482: New IOInterposer observer for recording main thread I/O to file; r=froydnj 2014-04-19 14:28:02 -06:00
Julian Seward 061965db8b Bug 997700 - Fix build issues with LUL and --enable-warnings-as-errors. r=nfroyd. 2014-04-19 01:30:46 +02:00
Terrence Cole 581c606391 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Viktor Stanchev fc25e0ce54 Bug 962262 - Profiler - Use float instead of double to pack circular buffer. r=benwa
--HG--
extra : rebase_source : 62429abbb05c199ed714ecec2f6b000296b94deb
2014-04-10 10:52:23 -04:00
Julian Seward 9bd60ea2d4 Bug 938157 - Lightweight CFI/EXIDX unwinding library for SPS. r=n.nethercote, nfroyd, bgirard.
--HG--
extra : rebase_source : bd427749667ddd6641eff414879c3706a5cb5f5e
2013-12-18 13:02:34 +01:00
Gregory Szorc e177929bf7 Bug 994359 - Update Bitbucket certificate fingerprint; r=edmorley
Certificate updated per
http://blog.bitbucket.org/2014/04/08/bitbuckets-ssl-certificates-are-changing/

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 7b2acdad8221d40629a0fff7b9b9fcfbd51eb1a5
extra : amend_source : 2138af8ab774420f466e33914f2abdb82a52df25
2014-04-09 15:33:16 -07:00
Gregory Szorc f9ca77bae1 NO BUG - Install RBTools 0.6
We were previously installing a pre-release of RBTools from Git. The
patches we were waiting on are now in RBTools 0.6. So, install the
released version from PyPI.

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 0c3c13c6e9ec24ae7ebcabe5b2e4fa64441b2332
2014-04-08 16:03:35 -07:00
Masatoshi Kimura 988da5b46e Bug 992503 - Remove the MSVC exemption for FAIL_ON_WARNINGS in tools/profiler. r=BenWa 2014-04-08 21:22:14 +09:00
Phil Ringnalda abdac31cf1 Merge m-i to a CLOSED TREE m-c 2014-04-06 09:51:58 -07:00
Wes Kocher 1a4b234833 Backed out changeset 1e38b4aa8889 (bug 986160) for breaking Nightly builds 2014-04-04 14:54:19 -07:00
Eric Faust edf5e61761 Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Viktor Stanchev 8f6b3cf1ab Bug 986160 - Create unit tests for the Gecko Profiler. r=benwa
--HG--
extra : rebase_source : b73d3af33ddbf032a01067c9d92ea6a6e441cdba
2014-04-04 10:11:41 +08:00
snigdha 9cc482da68 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Viktor Stanchev efc233bd6d Bug 987297 - Improve memory usage of profiler by packing ProfileEntry structs together better. r=bgirard 2014-03-31 14:19:00 +02:00
Jacek Caban 046703f3a5 Bug 820048 - Added missing math.h (mingw fixup). 2014-03-31 13:21:59 +02:00
Viktor Stanchev ffd378ba44 Bug 963158 - Profiler shouldn't sample sleeping threads multiple times. r=bgirard,roc,bent,froydnj
--HG--
extra : rebase_source : 75789c4359a2cb02b2588cfbc9b6b3cbd1e79c78
2014-03-28 16:08:22 -04:00
Jed Davis bcb7b2cc3a Bug 914561: Use SPS EnterJIT marks to unwind past jitcode. r=BenWa 2014-03-27 19:20:20 -07:00
Jed Davis a3824f224b Bug 914561: Record EnterJIT trampoline frame address on SPS pseudostack. r=nbp 2014-03-27 19:20:20 -07:00
Anthony Jones ec9a27854b Bug 983633 - Error if filterdiff is required; r=gps 2014-03-21 17:43:28 +13:00
Aaron Klotz 4ebf28f26c Bug 972577: Consolidate IOInterposer initialization code; r=froydnj,BenWa,jimm
--HG--
rename : tools/profiler/IOInterposer.cpp => xpcom/build/IOInterposer.cpp
rename : tools/profiler/IOInterposer.h => xpcom/build/IOInterposer.h
rename : tools/profiler/NSPRInterposer.cpp => xpcom/build/NSPRInterposer.cpp
rename : tools/profiler/NSPRInterposer.h => xpcom/build/NSPRInterposer.h
rename : toolkit/xre/nsWindowsDllInterceptor.h => xpcom/build/nsWindowsDllInterceptor.h
2014-03-14 16:35:01 -06:00
Wes Kocher a20307b017 Backed out changeset 2bdd2d042847 (bug 972577) for non-unified bustage on a CLOSED TREE
--HG--
rename : xpcom/build/nsWindowsDllInterceptor.h => toolkit/xre/nsWindowsDllInterceptor.h
rename : xpcom/build/IOInterposer.cpp => tools/profiler/IOInterposer.cpp
rename : xpcom/build/IOInterposer.h => tools/profiler/IOInterposer.h
rename : xpcom/build/NSPRInterposer.cpp => tools/profiler/NSPRInterposer.cpp
rename : xpcom/build/NSPRInterposer.h => tools/profiler/NSPRInterposer.h
2014-03-14 15:27:21 -07:00
Aaron Klotz ae4aa8bc28 Bug 972577: Consolidate IOInterposer initialization code; r=froydnj,BenWa,jimm
--HG--
rename : tools/profiler/IOInterposer.cpp => xpcom/build/IOInterposer.cpp
rename : tools/profiler/IOInterposer.h => xpcom/build/IOInterposer.h
rename : tools/profiler/NSPRInterposer.cpp => xpcom/build/NSPRInterposer.cpp
rename : tools/profiler/NSPRInterposer.h => xpcom/build/NSPRInterposer.h
rename : toolkit/xre/nsWindowsDllInterceptor.h => xpcom/build/nsWindowsDllInterceptor.h
2014-03-14 13:47:24 -06:00
Viktor Stanchev 378c2034e1 Bug 981132 - set up atfork on the main thread. r=bgirard
--HG--
extra : rebase_source : adbbf08a081dac84de6e1c2d001f32c786b38dc5
2014-03-12 16:32:40 -04:00
Brian R. Bondy 5af5d81828 Bug 974570 - Sign MAR files on all platforms. r=catlee, ted 2014-02-20 10:00:53 -05:00
Gregory Szorc 77f31d4d20 Bug 981724 - Update fingerprint for bitbucket; r=edmorley
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : b69aeae32da1099a9ee195847d8daf02d38d4f7d
extra : amend_source : 294da8b00aeafb061c336be0b3c2b291ff3bf933
2014-03-10 10:35:40 -07:00
Viktor Stanchev 61ed9edf45 Bug 979566 - Profiler: Convert usleep to nanosleep. r=bgirard 2014-03-07 15:43:34 -05:00
Robert Strong 00eb9e322d Followup for Bug 900251 - remove check for extra channel-prefs.js and update-settings.ini files in the mar generation scripts. r=nthomas 2014-03-05 17:04:21 -08:00
Robert Strong 40e187af87 Bug 900251 - Add support for add-if-not instruction added by bug 759469 to the mar generation scripts. r=nthomas 2014-03-05 11:42:56 -08:00
Robert Strong 376e960b5a bug 896223 - Remove the version 1 manifest from the mar creation scripts. r=nthomas 2014-03-05 11:42:48 -08:00
Ehsan Akhgari 17f4a32d8b Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Viktor Stanchev 17777910b1 Bug 978292 - Turn on sps profiler leaf data collection on linux. r=bgirard 2014-03-04 10:35:36 -05:00
Kannan Vijayan 64dbdf9caf Bug 976260 - Register javascript performance events with the profiler, second attempt at pushing. r=jandem 2014-03-03 14:36:08 -05:00
L. David Baron 32f0fef7ac Bug 855081 patch 2: Use a single buffer for the demangled names. r=jesup 2014-03-03 00:54:38 -08:00
Ryan VanderMeulen 1662c5c020 Backed out changesets 1b4b7d198185 and 8529b074a2f3 (bug 976260) for adding new rooting hazards.
CLOSED TREE
2014-02-28 16:04:49 -05:00
Viktor Stanchev e243b1a2cf Bug 969456 - Add pause/resume API to profiler. r=bgirard
--HG--
extra : rebase_source : 3c72e4b6b87f629fd1a289ddb4bbc94b582a0b4b
2014-02-28 15:16:38 -05:00
Kannan Vijayan 88eff64bd1 Bug 976260 - Register javascript performance events with the profiler. r=jandem 2014-02-28 14:02:46 -05:00
Ed Morley 75251a8149 Backed out changeset 84663a25b44e (bug 976260) for compilation failures 2014-02-28 18:42:34 +00:00
Kannan Vijayan 853bcf6e79 Bug 976260 - Register javascript performance events with the profiler. r=jandem 2014-02-28 13:22:03 -05:00
Ed Morley 575e4b2042 Bug 977961 - mach mercurial-setup: Avoid prompting to enable mqext auto-commit when already enabled; r=gps
DONTBUILD (NPOTB)
2014-02-28 16:43:01 +00:00
Ed Morley 46c09350dc Bug 977414 - mach mercurial-setup: Fix hgrc paths for extensions on Windows; r=gps 2014-02-27 10:10:22 +00:00
Ed Morley 1386611e1d Bug 977384 - mach mercurial-setup: Remaining cleanup; r=gps 2014-02-27 10:10:22 +00:00
Ed Morley 947aafcf25 Bug 977384 - mach mercurial-setup: Refactor part 2; r=gps 2014-02-27 10:10:21 +00:00
Ed Morley 8f447b8f21 Bug 977384 - mach mercurial-setup: Refactor part 1; r=gps 2014-02-27 10:10:20 +00:00
L. David Baron a8b24763d3 Bug 331743 patch 5: Fix -Wformat warnings in leaksoup.cpp related to 32-bit vs. 64-bit sizes. r=khuey 2014-02-26 13:36:36 -08:00
L. David Baron a897bb7059 Bug 331743 patch 4: Fix -Wshadow warning in leaksoup.cpp. r=khuey 2014-02-26 13:36:36 -08:00
L. David Baron b0d0022c36 Bug 331743 patch 3: Improve trace-malloc memory dumps and their handling on 64-bit. r=khuey
There are three categories of improvements:

 (1) using size_t* rather than unsigned long* (and "%zX" rather than
     "%lX"), to better support platforms where sizeof(long) !=
     sizeof(void*), such as Win64 (untested, though).  This is a
     non-issue for 64-bit Linux (where I tested) and Mac.

 (2) Using the correct amount of 0-padding when printing addresses to
     show how much memory space is being printed.  In other words, using
     "%016zX" on 64-bit platforms instead of "%08zX".  This change is
     cosmetic-only, though it makes the logs much more understandable.

 (3) [in leaksoup.cpp only] Fixing an occurrence of assuming that
     sizeof(int) == sizeof(void*).  This occurrence led to printing only
     the lower half of each word in the output, after doing a correct
     analysis of the memory graph.

This patch is patching three files:

 (A) nsTraceMalloc.cpp, which is the in-process Gecko trace-malloc code
     that generates the memory dumps.

 (B) adreader.cpp, which is shared utility code for reading such a
     memory dump (currently used only by leaksoup.cpp)

 (C) leaksoup.cpp, which reads in such a memory dump, performs a
     strongly connected components analysis of the memory graph, and
     writes it back out, HTML-ized, with the roots listed at the top.

A fourth file appears to need no modification since it only looks at the
stack part of the dump and not the contents of the memory:

 (D) diffbloatdump.pl, which diffs two bloat dumps and produces a stack
     tree showing the change in allocations between them
2014-02-26 13:36:36 -08:00
L. David Baron c91b8791d1 Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.

The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.

--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
Ed Morley 2df90d1cdd Bug 976892 - Update mach mercurial-setup to use qimportbz from it's new home in version-control-tools; r=gps
qimportbz is now pulled from its new canonical home. The old location can
be cleaned if the user agrees to it. The new location is updated in the
hgrc.

DONTBUILD (NPOTB)
2014-02-26 17:28:09 +00:00
Viktor Stanchev 0f7d95f413 Bug 970494 - Markers should be time based and not sample based. r=bgirard
--HG--
extra : rebase_source : 5401e1145c771878a1caa384d79e2dc1d0a1855c
2014-02-25 10:40:45 -05:00
L. David Baron 0026a0fe5d Back out changeset 72c0c955cf53 (no bug) now that bug 939610 is fixed. 2014-02-24 15:27:53 -08:00
Jim Chen bfa117a21f Bug 974986 - Always specify stack address in SamplerStackFramePrintfRAII; r=BenWa 2014-02-24 12:27:58 -05:00
Jim Chen dca2479fd2 Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa 2014-02-24 12:27:58 -05:00
Chris Peterson 91d5779d1b Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8 2014-02-17 22:10:50 -08:00
Ryan VanderMeulen 048505064d Merge inbound to m-c. 2014-02-20 15:13:01 -05:00
Dave Huseby 4f30f241e5 Bug 972536 - Add a tool for gathering USS memory data for a process over time for memory leak detection. r=dbaron 2014-02-20 08:50:54 -05:00
Chris Peterson 56af4fda84 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Andrew McCreight 344c61d00e Back out bug 712939 for not getting fully reviewed. 2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen 00487ce6f9 Bug 971094 - Part 0: Add some null checks to the profiler's usage of Observation::Filename(). r=BenWa 2014-02-20 08:43:55 -05:00