Commit Graph

1533 Commits

Author SHA1 Message Date
L. David Baron
eb7f8f67b2 Bug 914253 patch 10 - Two more comment tweaks. No review.
DONTBUILD
2014-10-15 14:50:58 -07:00
L. David Baron
3bcb4954c3 Bug 1082265 followup - One more comment tweak.
DONTBUILD
2014-10-15 14:50:57 -07:00
Bobby Holley
d8c553d744 Bug 1082450 - Fix quitter extension. r=gabor 2014-10-15 15:05:08 +02:00
Nicholas Nethercote
0003f29f40 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
f77df2455d Bug 1077662 - Add PROFILER_LABEL_FUNC macro; r=BenWa 2014-10-14 23:20:16 -04:00
Nicholas Nethercote
cb77ef394f 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
d8f53aa58f 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
3c3fcafe65 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
1df6f98717 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)
b5d82a52c1 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
e7b6979803 Bug 1082265 followup - Remove obsolete comment. DONTBUILD 2014-10-13 18:33:52 -07:00
L. David Baron
6ce054de5e 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
a479529d69 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
eb837c163b 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
a30208880a Bug 1080291 (part 3) - Remove watch.sh. r=dbaron.
--HG--
extra : rebase_source : dbb2e4f5940e6844b39edee3e70d3cca83efbc5f
2014-10-12 17:29:18 -07:00
Nicholas Nethercote
e82d5604a1 Bug 1080291 (part 2) - Remove thrashview.cpp. r=dbaron.
--HG--
extra : rebase_source : 2f5821a3de1e6a8fdef31a65bbb7d88530c9bab7
2014-10-12 17:29:10 -07:00
Nicholas Nethercote
c52232b7bb Bug 1080291 (part 1) - Remove foldelf.cpp. r=glandium.
--HG--
extra : rebase_source : 0629b09f791818252e6fdafbb74c3465ed2612fe
2014-10-08 18:56:42 -07:00
Benoit Girard
b9a9ff1ac5 Bug 1054110 - Let profiling circular buffer survive thread shutdown. r=ehsan 2014-10-06 14:12:52 -04:00
Gregory Szorc
a91aa652e8 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
2da4ee197d Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Mike Hommey
31a9d027d6 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
e89c5cb859 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
98d9d46202 Bug 1073545 - Add Vsync Markers to SPS Profiler. r=benwa 2014-10-01 13:01:59 -07:00
Nicholas Nethercote
b21b892183 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
0249afcc66 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
e322389145 Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs 2014-10-03 15:06:16 +01:00
Ed Morley
ed062efcdf Backed out changeset 7a1b7d7eba12 (bug 1062709) 2014-10-03 15:05:26 +01:00
Ryan VanderMeulen
8eb45d35cd Merge b-i to m-c. a=merge 2014-10-02 12:51:02 -04:00
Nicholas Nethercote
5b9ce4cc06 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
270fd1eda7 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
5e0f71dec1 Bug 1071133 — Make sure mercurial-setup knows how to handle unicode characters. r=gps 2014-09-22 20:03:17 +02:00
Mike Hommey
c5cfe825f5 Bug 1063414 - Make DIRS relative to the file they were added from. r=gps 2014-10-02 09:14:07 +09:00
Mike Hommey
0412683b7d Bug 1062221 - Replace add_tier_dir with DIRS. r=gps 2014-10-02 09:14:07 +09:00
Carsten "Tomcat" Book
50deec9dbd Merge m-c to b2g-inbound 2014-09-30 15:42:26 +02:00
Kan-Ru Chen (陳侃如)
2cc9f21dfd 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
69516d9682 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
1b5440b294 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
b20be455fe 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
314b0c946b Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu 2014-09-23 15:25:31 +02:00
Wander Lairson Costa
b9430045da 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
a02ee3b506 Bug 1065122 - Count ProfilerBacktrace ctor/dtor. r=trivial
--HG--
extra : rebase_source : 2bfe5cd0e57136e6841e0829be882d0a8f3cd3e8
2014-09-16 15:35:55 -04:00
Ehsan Akhgari
665fd8a1d1 Bug 1065668 - Fix more bad implicit ctors in profiler; r=BenWa 2014-09-10 22:06:53 -04:00
Ryan VanderMeulen
8d3f6d8a12 Merge fx-team to m-c. a=merge 2014-09-09 19:05:41 -04:00
Patrick Brosset
82fd842cb1 Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 20:54:08 +02:00
Mason Chang
db9dd016ea Bug 1049258 - Make it easier to collect frame uniformity results. r=benwa 2014-09-05 12:39:59 -07:00
Chris Peterson
b3b77faddd Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Nicholas Nethercote
246ca90556 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
b818adb5c2 Bug 1050601 - Remove fix-linux-stack.pl. r=ted.
--HG--
extra : rebase_source : f344aa5db9e16575835a7de3df34c311635c128b
2014-09-03 09:24:38 -07:00
Mike Hommey
a653121671 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
6258dd8523 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
fc99c53ae5 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
fc2212dc46 Bug 1061248 - Fix some bad implicit constructors in LUL; r=BenWa 2014-09-02 09:45:28 -04:00
Ehsan Akhgari
52c39a7ffc Bug 1061048 - Fix some bad impliciti constructors in profiler; r=BenWa 2014-09-02 09:44:54 -04:00
Gian-Carlo Pascutto
ad13603844 Bug 1055675 - Work around MSVC2010 issue in trace-malloc. r=bsmedberg 2014-08-19 13:29:00 +02:00
Jim Chen
e1fe7ef39b Bug 1013004 - Fix support for sampling intervals > 1 second; r=BenWa 2014-08-19 15:34:49 -04:00
Vikrantsingh Bisen
5177720c68 Bug 1053067 - Correct a misspelling of "version" in mach. r=edmorley 2014-08-15 23:45:00 -04:00
Mike Hommey
e82f0c3fce 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
ff766d3158 Bug 1047391 - Use the correct nm binary in nm-symbolicate.py. r=BenWa 2014-08-07 13:23:11 +02:00
Mike Hommey
0f4c5d9244 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
da213ed5f6 Merge m-c to m-i 2014-08-07 09:29:45 +05:30
Nigel Babu
6467141f6a Merge m-i to m-c 2014-08-07 08:47:18 +05:30
L. David Baron
36c4f35f17 Bug 914253 patch 10 - Revert inadvertent change from previous commit. No review. DONTBUILD 2014-08-06 19:23:54 -07:00
L. David Baron
ed8153c8a4 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
920133fd9a 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
1615e2590a 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
b4e78a31c1 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
d2dbb63199 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
440baa15fc 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
bb8ac84c74 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
2d404fab34 Bug 914253 patch 2 - Pull opening comment from fix-linux-stack.pl. No review. 2014-08-06 15:52:48 -07:00
Andrew McCreight
3e8075f6c1 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
c54d74da9e 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
ec54bf6c1f 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
9e257d32e7 Bug 1048654 - Remove support for building trace-malloc against libgd. r=mshal 2014-08-06 07:24:46 +09:00
Randell Jesup
cced29cafc Bug 1045783: fix typo that broke --enable-jprof r=ted NPOTB DONTBUILD 2014-08-06 11:31:22 -04:00
Ed Morley
3e549de7c5 Merge mozilla-central and inbound 2014-08-05 16:32:17 +01:00
Gregory Szorc
43f3c891e4 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
1003231729 Bug 977026 - Part 1: Allow thread registering before the profiler is initialized. r=BenWa 2014-07-25 20:52:00 -04:00
Nathan Froyd
6eea12bf47 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
b935329fe5 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
43734ba31b 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
f39ef3e627 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
06c9309fec Merge m-c to inbound on a CLOSED TREE 2014-07-28 18:51:24 -07:00
Thinker Li
49884668ec Bug 977026 - part 1: allow thread registering before the profiler is initialized. r=bgirard 2014-07-25 20:52:00 +02:00
Jim Chen
124095606a 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
1e97ce13cd Bug 1045068 - Fix some bad implicit constructors in Gecko profiler; r=BenWa 2014-07-28 13:11:26 -04:00
Mike Hommey
ad9b49263a 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
71623acdd6 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
e5c43ef995 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
7f13c61d0e 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
b99bba5c3f Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
d10b15b035 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
ea3a63713b 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
ecc2933e4b 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
9f4d80e66b Backed out changeset 4cd08369896b (bug 1016629) 2014-07-25 15:59:42 +02:00
Jim Chen
3be00731b8 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
15534a15c4 Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
Gregory Szorc
5349fe30df 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
665b00fc20 Bug 1039164: Prettier handling of invalid hgrc files by mach. r=gps 2014-07-17 01:21:06 +01:00
Jim Chen
6b0e5904dd Bug 1007824 - Use signal trampoline for profiler signal handler; r=BenWa 2014-07-15 12:45:40 -04:00
Ryan VanderMeulen
8fed6f6645 Merge m-c to fx-team. a=merge 2014-07-11 16:43:23 -04:00
Eric Edens
f689e6c964 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
07267c6f7f Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Benoit Girard
efec9062b4 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
41eb7e8fa2 Bug 1031272 - Remove fixed timeout in test_enterjit_osr.js. r=jld. 2014-07-09 20:53:39 +02:00
Julian Seward
272980c475 Bug 1031284 - Fix assertion failures for pseudostack unwinds using SPS+LUL. r=bgirard 2014-07-09 15:25:04 +02:00
Benoit Jacob
3c081146b3 Bug 1035394 - Fix dangerous public destructors in tools/profiler - r=benwa 2014-07-08 17:23:17 -04:00
Gregory Szorc
41b24b278a 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
0e963ba764 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
e0ffffb9f8 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
751e8c41c9 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
9bc5d54c19 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
9bf09b73ad merge fx-team to mozilla-central a=merge 2014-06-25 15:34:21 +02:00
Jim Blandy
4d6a633bba 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
5959ada792 Bug 1028588 - Fix dangerous public destructors in miscellaneous places - r=ehsan 2014-06-23 18:40:03 -04:00
Victor Porof
0f388eafde Bug 1020541 - JS Stacks no longer reported in the profiler, r=benwa,djvj 2014-06-24 21:46:13 -04:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Carsten "Tomcat" Book
86bbfb82a8 merge fx-team to mozilla-central a=merge 2014-06-17 14:09:46 +02:00
Gregory Szorc
56f089d300 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
44bccddd28 Bug 1025704 - Add --video flag to merge-profiles.py. r=ehsan 2014-06-16 18:32:42 -04:00
Benoit Girard
9ea973aec8 Bug 1021990 - Migrate to xpcom based EventTracer. r=ehsan 2014-06-06 17:53:42 -04:00
Benoit Girard
f6c6ac7ed5 Bug 1021072 - Remove GetResponsivenessTimes. r=ehsan 2014-06-13 22:32:13 -04:00
Benoit Girard
95cea05798 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
389eb6855e Bug 1014071 - Add support for USS on Linux. r=BenWa,njn 2014-06-05 08:31:09 -07:00
Victor Porof
2a214c6cba Bug 1017790 - Expose category information in the profiler data, r=djvj 2014-06-04 14:37:49 -04:00
Victor Porof
46455c55fd Bug 1019182 - ProfileEntry flags should be zeroed when setting frame data, r=djvj 2014-06-04 14:37:49 -04:00
Victor Porof
3e8338b918 Bug 1007203 - Set the categories as flags on profile entries, r=djvj 2014-05-30 21:41:11 -04:00
Ryan VanderMeulen
bbe0519957 Merge fx-team to m-c. 2014-05-30 16:04:16 -04:00
Chia-hung Tai
040578feb8 Bug 1015860 - Change ATRACE_TAG to ATRACE_TAG_ALWAYS in Gecko Profiler. r=BenWa 2014-05-27 15:12:21 +08:00
Victor Porof
f885cc502d Bug 1004726 - Clean up profiler pseudo-stack representation (relanded), r=djvj,jchen 2014-05-28 18:44:41 -04:00
Mike de Boer
578185223c Bug 1014482: make existing tests compatible with global Assert.jsm methods. r=gps 2014-05-30 16:26:48 +02:00
Victor Porof
b71b27f52a Backed out changeset c2429d6c41fb (Bug 1004726) for regressions on B2G, r=me 2014-05-26 21:51:50 -04:00
Benoit Girard
a0dd636e27 Bug 1014382 - Add nm-symbolicate.py helper script. r=jrmuizel DONTBUILD as NPOTB 2014-05-22 05:00:28 +00:00
Birunthan Mohanathas
411a8639b4 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Carsten "Tomcat" Book
e52ec8ff1a merge fx-team to mozilla-central 2014-05-21 13:57:43 +02:00
Victor Porof
44e7c9f4bd Bug 1004726 - Clean up profiler pseudo-stack representation. r=djvj,mrosenberg 2014-05-20 15:25:25 -04:00
Nicolas B. Pierron
e67de1f1f2 Bug 988332 - Report RSS in Gecko's profiles. r=BenWa 2014-05-19 11:31:31 -07:00
Nicholas Nethercote
a0bec3a4ef 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
4d4f220438 Bug 1010082 - Fix |mach dxr| URL; f=erikrose 2014-05-14 16:26:17 +01:00
Ryan VanderMeulen
0ef33987f6 Merge m-c to b2g-inbound. 2014-05-13 16:27:50 -04:00
Steve Singer
9ae129522e Bug 1009291 - Forward declare ProfilerBacktrace before it is used. r=BenWa 2014-05-12 17:11:00 -04:00
Julian Seward
5d92e09170 Bug 999348 - [flatfish] Build faild in gecko/tools/profiler/LulElf.cpp. r=glandium. 2014-05-13 21:26:33 +02:00
Aaron Klotz
9f6d939078 Bug 977446 - Fix erroneous assertion triggered during SyncProfile destruction; r=sewardj 2014-04-22 12:42:15 +02:00
Benoit Girard
e1b1c6e83a Bug 1004899 - Add stderr to profile output. r=ehsan
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Benoit Girard
7c0cfef595 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
4af7ca592c Bug 880864 - User dictionary (persdict.dat) read on main thread. r=mayhemer 2014-05-07 06:35:00 -04:00
Robert O'Callahan
949537330f 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
6f56f93285 Backed out changeset 70946e64e8f8 (bug 1005704) because it caused bug 1006541 2014-05-06 16:39:39 -04:00
Ehsan Akhgari
b7cf2d4a14 Bug 1005704 - Enable installing files dist files without preprocessing; r=mshal 2014-05-05 21:26:11 -04:00
Benoit Girard
ed6788888b Bug 1005204 - Enable JSStreamWriterTest. no reviews, just enabling a test. 2014-05-02 13:34:29 -04:00