Commit Graph

1534 Commits

Author SHA1 Message Date
Mike Hommey
c2a27deef9 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
8fd95ad480 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
6d5fe22fb3 Bug 1061248 - Fix some bad implicit constructors in LUL; r=BenWa 2014-09-02 09:45:28 -04:00
Ehsan Akhgari
562a289c4d Bug 1061048 - Fix some bad impliciti constructors in profiler; r=BenWa 2014-09-02 09:44:54 -04:00
Gian-Carlo Pascutto
c7d05c2620 Bug 1055675 - Work around MSVC2010 issue in trace-malloc. r=bsmedberg 2014-08-19 13:29:00 +02:00
Jim Chen
72652a658e Bug 1013004 - Fix support for sampling intervals > 1 second; r=BenWa 2014-08-19 15:34:49 -04:00
Vikrantsingh Bisen
5cd59efa88 Bug 1053067 - Correct a misspelling of "version" in mach. r=edmorley 2014-08-15 23:45:00 -04:00
Mike Hommey
3fc5b34040 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
d04626fcaa Bug 1047391 - Use the correct nm binary in nm-symbolicate.py. r=BenWa 2014-08-07 13:23:11 +02:00
Mike Hommey
cbe32e4bb3 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
c3721999f3 Merge m-c to m-i 2014-08-07 09:29:45 +05:30
Nigel Babu
65549d348c Merge m-i to m-c 2014-08-07 08:47:18 +05:30
L. David Baron
ef671dd818 Bug 914253 patch 10 - Revert inadvertent change from previous commit. No review. DONTBUILD 2014-08-06 19:23:54 -07:00
L. David Baron
b7b0b5b3f4 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
b9c74637c5 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
47ae436470 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
bc0ec151a0 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
14bddbcd3a 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
d403cb53e0 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
83038cddff 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
d15f09c668 Bug 914253 patch 2 - Pull opening comment from fix-linux-stack.pl. No review. 2014-08-06 15:52:48 -07:00
Andrew McCreight
ba89d2e233 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
2b37e026f8 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
1cb5547cd1 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
2ac49dee24 Bug 1048654 - Remove support for building trace-malloc against libgd. r=mshal 2014-08-06 07:24:46 +09:00
Randell Jesup
7315abd2e1 Bug 1045783: fix typo that broke --enable-jprof r=ted NPOTB DONTBUILD 2014-08-06 11:31:22 -04:00
Ed Morley
ef7919d5ef Merge mozilla-central and inbound 2014-08-05 16:32:17 +01:00
Gregory Szorc
3ea49cc1b9 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
d0b04cb9d1 Bug 977026 - Part 1: Allow thread registering before the profiler is initialized. r=BenWa 2014-07-25 20:52:00 -04:00
Nathan Froyd
d6f7edb12d 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
b628da0c6a 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
8ae00b2cc6 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
c1aff765dd 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
a60e741c21 Merge m-c to inbound on a CLOSED TREE 2014-07-28 18:51:24 -07:00
Thinker Li
d1f7d4dc0f Bug 977026 - part 1: allow thread registering before the profiler is initialized. r=bgirard 2014-07-25 20:52:00 +02:00
Jim Chen
4760907006 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
844c2bfe95 Bug 1045068 - Fix some bad implicit constructors in Gecko profiler; r=BenWa 2014-07-28 13:11:26 -04:00
Mike Hommey
7ca0de0fb4 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
171507509c 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
5659a611dd 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
e5596407fd 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
33ef4f2c39 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
9ae3c48776 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
096873a761 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
9c6f0a3d1f 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
75833910eb Backed out changeset 4cd08369896b (bug 1016629) 2014-07-25 15:59:42 +02:00
Jim Chen
0be6952447 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
09a1fe2354 Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
Gregory Szorc
6aa2a39cdb 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
3e6f2b4578 Bug 1039164: Prettier handling of invalid hgrc files by mach. r=gps 2014-07-17 01:21:06 +01:00
Jim Chen
1fafa705e4 Bug 1007824 - Use signal trampoline for profiler signal handler; r=BenWa 2014-07-15 12:45:40 -04:00
Ryan VanderMeulen
201eaf7e58 Merge m-c to fx-team. a=merge 2014-07-11 16:43:23 -04:00
Eric Edens
d2211041c2 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
34799e0459 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Benoit Girard
66b6663d9b 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
38f70158ce Bug 1031272 - Remove fixed timeout in test_enterjit_osr.js. r=jld. 2014-07-09 20:53:39 +02:00
Julian Seward
9ab5f50252 Bug 1031284 - Fix assertion failures for pseudostack unwinds using SPS+LUL. r=bgirard 2014-07-09 15:25:04 +02:00
Benoit Jacob
e1338cb98f Bug 1035394 - Fix dangerous public destructors in tools/profiler - r=benwa 2014-07-08 17:23:17 -04:00
Gregory Szorc
44bf3127d8 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
833552e330 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
f28e5dc401 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
0a6ce536ce 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
7425c88c7f 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
56bde994f7 merge fx-team to mozilla-central a=merge 2014-06-25 15:34:21 +02:00
Jim Blandy
b6b202b6bb 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
3cd7e34ddb Bug 1028588 - Fix dangerous public destructors in miscellaneous places - r=ehsan 2014-06-23 18:40:03 -04:00
Victor Porof
4cca06bbd9 Bug 1020541 - JS Stacks no longer reported in the profiler, r=benwa,djvj 2014-06-24 21:46:13 -04:00
Birunthan Mohanathas
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Carsten "Tomcat" Book
f72b2aa35a merge fx-team to mozilla-central a=merge 2014-06-17 14:09:46 +02:00
Gregory Szorc
415e6019ea 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
92549e2412 Bug 1025704 - Add --video flag to merge-profiles.py. r=ehsan 2014-06-16 18:32:42 -04:00
Benoit Girard
729685e2ec Bug 1021990 - Migrate to xpcom based EventTracer. r=ehsan 2014-06-06 17:53:42 -04:00
Benoit Girard
53c5b40d51 Bug 1021072 - Remove GetResponsivenessTimes. r=ehsan 2014-06-13 22:32:13 -04:00
Benoit Girard
5a858fa229 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
36080db022 Bug 1014071 - Add support for USS on Linux. r=BenWa,njn 2014-06-05 08:31:09 -07:00
Victor Porof
4acf373b49 Bug 1017790 - Expose category information in the profiler data, r=djvj 2014-06-04 14:37:49 -04:00
Victor Porof
3e39d84b5c Bug 1019182 - ProfileEntry flags should be zeroed when setting frame data, r=djvj 2014-06-04 14:37:49 -04:00
Victor Porof
ace53561c6 Bug 1007203 - Set the categories as flags on profile entries, r=djvj 2014-05-30 21:41:11 -04:00
Ryan VanderMeulen
ceeab7e754 Merge fx-team to m-c. 2014-05-30 16:04:16 -04:00
Chia-hung Tai
0ddb467cd1 Bug 1015860 - Change ATRACE_TAG to ATRACE_TAG_ALWAYS in Gecko Profiler. r=BenWa 2014-05-27 15:12:21 +08:00
Victor Porof
db361295ab Bug 1004726 - Clean up profiler pseudo-stack representation (relanded), r=djvj,jchen 2014-05-28 18:44:41 -04:00
Mike de Boer
cc86ca650f Bug 1014482: make existing tests compatible with global Assert.jsm methods. r=gps 2014-05-30 16:26:48 +02:00
Victor Porof
f40a28d5a5 Backed out changeset c2429d6c41fb (Bug 1004726) for regressions on B2G, r=me 2014-05-26 21:51:50 -04:00
Benoit Girard
1ba0a55b42 Bug 1014382 - Add nm-symbolicate.py helper script. r=jrmuizel DONTBUILD as NPOTB 2014-05-22 05:00:28 +00:00
Birunthan Mohanathas
016d46e5f3 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Carsten "Tomcat" Book
d0b0dc9883 merge fx-team to mozilla-central 2014-05-21 13:57:43 +02:00
Victor Porof
c61de0f794 Bug 1004726 - Clean up profiler pseudo-stack representation. r=djvj,mrosenberg 2014-05-20 15:25:25 -04:00
Nicolas B. Pierron
e1c46d67ba Bug 988332 - Report RSS in Gecko's profiles. r=BenWa 2014-05-19 11:31:31 -07:00
Nicholas Nethercote
5af37bff87 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
fff5736f50 Bug 1010082 - Fix |mach dxr| URL; f=erikrose 2014-05-14 16:26:17 +01:00
Ryan VanderMeulen
998e042ea0 Merge m-c to b2g-inbound. 2014-05-13 16:27:50 -04:00
Steve Singer
df8c820670 Bug 1009291 - Forward declare ProfilerBacktrace before it is used. r=BenWa 2014-05-12 17:11:00 -04:00
Julian Seward
acc9c2084c Bug 999348 - [flatfish] Build faild in gecko/tools/profiler/LulElf.cpp. r=glandium. 2014-05-13 21:26:33 +02:00
Aaron Klotz
861c9a38b2 Bug 977446 - Fix erroneous assertion triggered during SyncProfile destruction; r=sewardj 2014-04-22 12:42:15 +02:00
Benoit Girard
7fe0725c7a Bug 1004899 - Add stderr to profile output. r=ehsan
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Benoit Girard
1e4213e321 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
ce076973fe Bug 880864 - User dictionary (persdict.dat) read on main thread. r=mayhemer 2014-05-07 06:35:00 -04:00
Robert O'Callahan
4c2b59d379 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
b5c2c1f637 Backed out changeset 70946e64e8f8 (bug 1005704) because it caused bug 1006541 2014-05-06 16:39:39 -04:00
Ehsan Akhgari
2eabc5792d Bug 1005704 - Enable installing files dist files without preprocessing; r=mshal 2014-05-05 21:26:11 -04:00
Benoit Girard
738e3329d4 Bug 1005204 - Enable JSStreamWriterTest. no reviews, just enabling a test. 2014-05-02 13:34:29 -04:00
Viktor Stanchev
a49835bcc5 Bug 986160 - Create unit tests for the Gecko Profiler. r=benwa 2014-04-07 15:29:07 -04:00
Benoit Girard
1158327953 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
a1799c3fc2 Bug 1004677 - Restore double precision startTime. r=bjacob
--HG--
extra : rebase_source : 1579e50c3fcf44053ed83dc2411941120229729d
2014-05-01 16:27:36 -04:00
Jim Chen
429f0cf5d5 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
504b581650 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
f268864b00 Backed out changeset 60b6bdaafba7 (bug 999071) for android 2.3 rc1 orange 2014-04-25 14:50:31 -07:00
Jim Chen
255c20c32b 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
66e8ec5020 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
b807184a9a 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
2f7ea42920 Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey. 2014-03-27 16:49:06 +08:00
Shelly Lin
28f678d6a7 Bug 908995 - Part 1: The core implementation of TaskTracer. r=khuey. 2014-03-27 16:44:30 +08:00
Viktor Stanchev
bd0315f4ae Bug 867728 - Add tests for JSStreamWriter. r=bgirard
--HG--
extra : rebase_source : ee679794165b171ec89dfc2785647ffa7cb7f009
2014-04-21 16:52:40 -04:00
Viktor Stanchev
6cfb5c4aef 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
7a00ba6b15 Bug 996285 - Profiler stops duplicating samples during sleeping periods after buffer wraps. r=benwa 2014-04-21 11:46:48 -04:00
Aaron Klotz
2a07f818cb 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
7f42fc30b7 Bug 997700 - Fix build issues with LUL and --enable-warnings-as-errors. r=nfroyd. 2014-04-19 01:30:46 +02:00
Terrence Cole
21e586caba Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Viktor Stanchev
6b8cc150cf 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
580715f9a7 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
97a7f593a0 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
74685be9c2 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
83e4979511 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
c5638212cb Merge m-i to a CLOSED TREE m-c 2014-04-06 09:51:58 -07:00
Wes Kocher
21c112a12c Backed out changeset 1e38b4aa8889 (bug 986160) for breaking Nightly builds 2014-04-04 14:54:19 -07:00
Eric Faust
fb1731f8f3 Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Viktor Stanchev
e8cacd7158 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
11404d6af2 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
7031b59b6a 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
1f81828335 Bug 820048 - Added missing math.h (mingw fixup). 2014-03-31 13:21:59 +02:00
Viktor Stanchev
19b8e148ae 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
61bc0e9cc2 Bug 914561: Use SPS EnterJIT marks to unwind past jitcode. r=BenWa 2014-03-27 19:20:20 -07:00
Jed Davis
6149675df1 Bug 914561: Record EnterJIT trampoline frame address on SPS pseudostack. r=nbp 2014-03-27 19:20:20 -07:00
Anthony Jones
52d9de87d9 Bug 983633 - Error if filterdiff is required; r=gps 2014-03-21 17:43:28 +13:00
Aaron Klotz
810b3b5e28 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
f0e672d699 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
dda435844e 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
8a7f3bddb6 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
5837f634c4 Bug 974570 - Sign MAR files on all platforms. r=catlee, ted 2014-02-20 10:00:53 -05:00
Gregory Szorc
23f951e54c 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
bab603a8ce Bug 979566 - Profiler: Convert usleep to nanosleep. r=bgirard 2014-03-07 15:43:34 -05:00
Robert Strong
f0b0733229 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
b4c8aa075d 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
8afb30bb0c bug 896223 - Remove the version 1 manifest from the mar creation scripts. r=nthomas 2014-03-05 11:42:48 -08:00
Ehsan Akhgari
444a26ed8e Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Viktor Stanchev
65485fd72b Bug 978292 - Turn on sps profiler leaf data collection on linux. r=bgirard 2014-03-04 10:35:36 -05:00
Kannan Vijayan
e6307dd523 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
9a5e776473 Bug 855081 patch 2: Use a single buffer for the demangled names. r=jesup 2014-03-03 00:54:38 -08:00
Ryan VanderMeulen
e7824b1cac 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
bbef6f2faa 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
6eb5b8cc40 Bug 976260 - Register javascript performance events with the profiler. r=jandem 2014-02-28 14:02:46 -05:00
Ed Morley
e014226006 Backed out changeset 84663a25b44e (bug 976260) for compilation failures 2014-02-28 18:42:34 +00:00
Kannan Vijayan
e0d667c0c5 Bug 976260 - Register javascript performance events with the profiler. r=jandem 2014-02-28 13:22:03 -05:00
Ed Morley
4725c2903e 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
73a2741644 Bug 977414 - mach mercurial-setup: Fix hgrc paths for extensions on Windows; r=gps 2014-02-27 10:10:22 +00:00
Ed Morley
b040d4ca67 Bug 977384 - mach mercurial-setup: Remaining cleanup; r=gps 2014-02-27 10:10:22 +00:00
Ed Morley
3c5fd11b96 Bug 977384 - mach mercurial-setup: Refactor part 2; r=gps 2014-02-27 10:10:21 +00:00
Ed Morley
64447705d7 Bug 977384 - mach mercurial-setup: Refactor part 1; r=gps 2014-02-27 10:10:20 +00:00
L. David Baron
9c9aa42fb5 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
46a4a005b5 Bug 331743 patch 4: Fix -Wshadow warning in leaksoup.cpp. r=khuey 2014-02-26 13:36:36 -08:00
L. David Baron
ce2618e327 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
5e307581fa 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
39430bc433 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
34421a7556 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
fbe4a24ac9 Back out changeset 72c0c955cf53 (no bug) now that bug 939610 is fixed. 2014-02-24 15:27:53 -08:00
Jim Chen
47f44e0479 Bug 974986 - Always specify stack address in SamplerStackFramePrintfRAII; r=BenWa 2014-02-24 12:27:58 -05:00
Jim Chen
1d7838e5f6 Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa 2014-02-24 12:27:58 -05:00
Chris Peterson
10a0737dbc 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
73306afda2 Merge inbound to m-c. 2014-02-20 15:13:01 -05:00
Dave Huseby
d95232279f 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
64487f63e2 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Andrew McCreight
f25aeef35c Back out bug 712939 for not getting fully reviewed. 2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen
8f4969bd77 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
Daniel Holbert
682b66552e back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson
796b530a80 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Aaron Klotz
b2f2849ca8 Bug 973899: Fix usage of temporary string that was causing crashes; r=ehsan 2014-02-18 10:13:51 -07:00
L. David Baron
d3ea454fd4 Make fix-linux-stack handle addresses with lowercase hexidecimal, since that seems to be the thing these days. No bug.
(mrbkap, I, and ehoogeveen have all seen lowercase lately.)
2014-02-17 20:07:45 -08:00
Masatoshi Kimura
9f0004eb6e Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
Benoit Girard
d2ef11b70d backout e9c0d692b2cf (bug 970494) for warning failures. r=backout
CLOSED TREE
2014-02-13 16:13:32 -05:00
Viktor Stanchev
19c4ad3f7f Bug 970494 - Markers should be time based and not sample based. r=bgirard
--HG--
extra : rebase_source : c1e3e77fa8f7ad2c5eec7f092d96bf3719db3a8c
2014-02-13 13:43:48 -05:00
Viktor Stanchev
ac9720bf2c Bug 962325 - Add filename to profiler I/O markers. r=bgirard
--HG--
extra : rebase_source : 6ec4d08834f57946681b65064c1e5764572d28e7
2014-02-13 13:32:38 -05:00
Gregory Szorc
984d098d23 Bug 971683 - Remove tools/l10n; r=bsmedberg
--HG--
extra : rebase_source : 12c3b29df1e7333c5abc6768f853ed41291b1ddb
extra : amend_source : 7d0566143465dea662e05bd9351cb02c3eb9e8d4
2014-02-12 14:20:15 -08:00
Jon Coppeard
25c1a75044 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Ehsan Akhgari
d1964b92f6 Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Brian O'Keefe
e3f6084e7a Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
Ehsan Akhgari
82ebdc883f Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Nathan Froyd
b1902b6e57 Bug 968932 - remove unused <*stream> headers from platform-linux.cc; r=BenWa 2014-02-06 12:49:32 -05:00
Ryan VanderMeulen
9bf72037e1 Merge m-c to inbound on a CLOSED TREE. 2014-02-06 16:29:41 -05:00
Gregory Szorc
c41c3e30ca Bug 968259 - Update mach mercurial-setup to work with new unified VCS tools repo; r=ted
bzexport 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)

--HG--
extra : rebase_source : f7737bcf7b528df9b8130ecb3cf73f4d74280d3b
extra : amend_source : b9a1a0b656b1e350cf161db386cf7986cac6a430
2014-02-05 14:12:15 -08:00
Ryan VanderMeulen
b6e3d2440f Backed out changeset f4c91d9262f1 (bug 965373) for test_profiler_activation.js timeouts on Windows debug. 2014-02-06 14:34:05 -05:00
Andrew McCreight
288339af41 Bug 967215 - Fix fix_macosx_stack.py. r=njn DONTBUILD 2014-02-06 11:31:49 -08:00
Ryan VanderMeulen
9cc11c88bd Backed out changeset 7abb50d91618 (bug 962325) for bustage.
CLOSED TREE
2014-02-06 12:29:13 -05:00
Viktor Stanchev
05a67520f6 Bug 965373 - When the profiler stops it doesn't stop the EventTracer thread; r=bgirard
---
 toolkit/xre/EventTracer.cpp   | 48 +++++++++++++++++++++++++++++++------------
 tools/profiler/nsProfiler.cpp |  3 +++
 2 files changed, 38 insertions(+), 13 deletions(-)

--HG--
extra : rebase_source : 249b164d232320bbec25de2b13d23ed87ffff842
2014-02-06 11:59:25 -05:00
Viktor Stanchev
243df05a74 Bug 962325 - Add filename to profiler I/O markers. r=bgirard
--HG--
extra : rebase_source : e823b394eb547bcdf5f6f4970959add8d5a81710
2014-02-06 11:44:46 -05:00
Jim Chen
b8dad8a3fb Bug 959931 - Use open/mmap for libmozglue unwinding; r=jseward 2014-02-05 12:37:54 -06:00
Aaron Klotz
3e37f64342 Bug 902587 - Part 2B: filename method for PoisonIOInterposer; r=BenWa,ehsan 2014-01-31 20:14:03 -07:00
Viktor Stanchev
dce58d3699 Bug 962731 - Properly save root profiler tags in profiles. r=ehsan 2014-01-30 13:13:23 -05:00
Anthony Jones
e0b4805516 Bug 965120 - Git support for mach clang-format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones
9dc5bfae01 Bug 965120 - Use .clang-format to set tree default format; r=gps 2014-01-30 14:27:44 +13:00
Anthony Jones
3217142ab5 Bug 965120 - Add --show option to mach clang-format; r=gps 2014-01-30 14:27:44 +13:00