Commit Graph

1050 Commits

Author SHA1 Message Date
Benoit Girard
c85d18b694 Bug 850833 - Fix unused function warning. r=bustage CLOSED TREE 2013-03-14 18:10:18 -04:00
Benoit Girard
4ce62426d9 Bug 850833 - Remove desktop logging for Gecko Profiker. r=ehsan
--HG--
extra : rebase_source : 1ed1b6573df4da828efa958af3ff0e2e2a7c1f49
2013-03-14 14:37:04 -04:00
Gregory Szorc
9569d6e356 Merge mozilla-central into inbound 2013-03-13 09:03:20 -07:00
Gregory Szorc
56a7634c1c Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
3d694a85c0 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Gregory Szorc
0d33ac5f93 Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium 2013-03-12 10:20:41 -07:00
Ted Mielczarek
ea2791d017 bug 751673 - fix Windows assertion stacks. r=dbaron
--HG--
extra : rebase_source : b74882bb3914afaa44341088b9f737c909e88f65
2013-03-11 14:21:53 -04:00
Julian Seward
19b79317be Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium 2013-03-10 23:00:23 +01:00
Ehsan Akhgari
8294fc5f47 Bug 848507 - Support searching DXR in mach; r=gps
DONTBUILD because this is NPOTB.
2013-03-06 15:23:21 -05:00
Gregory Szorc
b60f315a4d Bug 847722 - Mach commands to search The Internets; r=jhammel
DONTBUILD (NPOTB)
2013-03-06 09:58:40 -08:00
Richard Newman
9297113e26 Backed out changeset cc45fdc389df (Bug 779291) for breaking Mac Android builds. 2013-03-12 00:14:52 -07:00
Julian Seward
e8bbb67556 Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium
bug 850089 - fix SPS with disable-crashreporter. Patch by Ted Mielczarek <ted@mielczarek.org>, r=glandium
Bug 850132 - SPS breakpad unwind (bug 779291) breaks Win64 builds with "Unsupported platform". Patch by Makoto Kato <m_kato@ga2.so-net.ne.jp>, r=ted
2013-03-10 23:00:23 +01:00
Gregory Szorc
2a18cc096c Bug 784841 - Part 18ι: Convert /tools; r=ted 2013-02-25 13:20:01 -08:00
Gregory Szorc
e797c5e204 Bug 827308 - Remove tools/testy; r=ted 2013-02-23 18:18:30 -08:00
Jonathan Kew
e04415fc7f backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Bill McCloskey
6798be1a0e Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley) 2013-02-21 18:23:47 -08:00
Mike Hommey
c40cce5068 Bug 841094 - Don't special-case extensions/ and searchplugins/ directories when creating complete and partial mar, but special-case distribution/extensions. r=rstrong,r=bhearsum 2013-02-20 16:48:58 +01:00
L. David Baron
350dc824b4 Bug 563195: Fix -Wshadow warnings in public SPS headers. r=BenWa 2013-02-17 22:56:32 -08:00
Mike Hommey
becbd7e43e Bug 838165 - Cleanup in NSPR hooking in the build system. r=ted 2013-02-14 08:25:43 +01:00
Daniel Holbert
a0e1be8bc1 Bug 836150: Mark tools/profiler as FAIL_ON_WARNINGS, for non-MSVC compilers. r=BenWa 2013-01-29 21:12:07 -08:00
Daniel Holbert
3a2148c3d4 Bug 836149: declare pseudoStackPos as uint32_t instead of int in TableTicker.cpp, to fix signed/unsigned comparison build warning. r=BenWa 2013-01-29 18:51:43 -08:00
Daniel Holbert
3372289b47 Bug 836088: move variable 'platformData' closer to where it's used, in TableTicker.cpp, to fix unused variable warning on Mac OS X. r=BenWa 2013-01-29 17:59:12 -08:00
Daniel Holbert
909a2135f8 Bug 835915: Iterate across nsTArray using a size_t loop counter instead of an int. r=ehsan 2013-01-29 14:30:13 -08:00
Benoit Girard
08e0911227 Bug 761277 - Part 1: Provide the macro definition, fall back to use TLS. r=ehsan 2013-01-18 18:47:31 -05:00
Irving Reid
e97ded2b9d Bug 818958: Tell SPSProfiler when the JS runtime shuts down r=luke 2013-01-18 12:04:35 -05:00
Rafael Ávila de Espíndola
1bbe140a79 Bug 831100 - use std::string. Extra reviews. r=ehsan,vladan. 2013-01-17 09:48:37 -05:00
Ehsan Akhgari
e0a9bee65f Remove the unneeded explicit keyword from SharedLibrary's private constructor, no bug 2013-01-16 23:26:46 -05:00
Rafael Ávila de Espíndola
3c03d12c55 Bug 831100 - use std::string. r=vladan. 2013-01-16 20:38:22 -05:00
Ed Morley
bab0bcfee5 Bug 828946 - leakstats should output TBPL-parsable error messages; r=ted 2013-01-16 21:53:45 +00:00
Ehsan Akhgari
d09ef7fde7 Forward declare JSContext as struct in the profiler code in order to avoid compiler warnings, no bug 2013-01-16 08:11:44 -05:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Rafael Ávila de Espíndola
e8a18c771f Bug 830485 - Style fix for hex parsing. r=vladan.
--HG--
extra : rebase_source : e8f695fd759da7f6fa261e6cd5df68db2e2c2d0f
2013-01-14 17:45:46 -05:00
Rafael Ávila de Espíndola
fcd1294cf0 Bug 830018 - Intermittent browser_profiler_controller.js, test_profiler_actor.js | application crashed [@AddSharedLibraryInfoToStream]. r=vladan 2013-01-14 16:20:05 -05:00
Rafael Ávila de Espíndola
5e1b16875a Bug 829621 - Compute the breakpad-id for OS X. r=BenWa. 2013-01-11 14:38:40 -05:00
Benoit Girard
4ee5a9418d Bug 822135 - Disable Profiler when there's a Private Browsing Window. r=jdm
--HG--
rename : services/crypto/cryptoComponents.manifest => services/sync/SyncComponents.manifest
extra : rebase_source : 00ee2e343815d654fc33238b49f19225f39cf074
2012-12-17 18:25:50 -05:00
Rafael Ávila de Espíndola
30c2da2ff1 Bug 825701 - Use v3 to report hangs. r=vladan. 2013-01-09 15:05:00 -05:00
Nicholas Nethercote
16e75efa9f Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron. 2012-12-20 21:31:57 -08:00
Masatoshi Kimura
70df2a62e6 Bug 819559 - Enable workarounds for intrinsic functions only on MSVC2005. r=jrmuizel 2013-01-07 04:43:23 +09:00
Robert O'Callahan
106f5d95d1 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Mike Hommey
a07bbca52c Bug 825901 - Remove the old linker code. r=blassey 2013-01-03 08:43:26 +01:00
David Zbarsky
f41bfdbfa0 Bug 824603 Part 2: Move nsDOMDocumentType => mozilla::dom::DocumentType r=bz
--HG--
rename : content/base/src/nsDOMDocumentType.cpp => content/base/src/DocumentType.cpp
rename : content/base/src/nsDOMDocumentType.h => content/base/src/DocumentType.h
2012-12-28 20:34:02 -05:00
Nicholas Nethercote
0a2709a9bb Bug 819819 (part 1) - Remove DMDV. r=khuey.
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Mark Banner
cfe57215c0 Bug 823932 Change leaksoup.cpp to use nsAutoTArray rather than nsAutoVoidArray. r=dbaron 2012-12-22 08:59:22 +00:00
Nicholas Nethercote
4801426ad4 Bug 819833 (part 3) - Fix fix_macosx_stack.py.
--HG--
extra : rebase_source : edf2b21b1061c5b1aa31d071e24099ab8072d3f5
2012-12-10 21:24:55 -08:00
Benoit Girard
a1cb4ba560 Bug 820951 - Bustage fix. r=ehsan
--HG--
extra : rebase_source : 58c860f56a22019c3f3982f940ffd22e53d3fd37
2012-12-12 18:01:31 -05:00
Benoit Girard
4149dda14b Bug 820951 - Add an option to the Profiler to strip out leaf addresses from JS profiles. r=ehsan
--HG--
extra : rebase_source : 8042a6ec42a54459752f25206d76e77184cb7865
2012-12-12 17:15:17 -05:00
Benoit Girard
45a903eef1 Bug 773428 - Part 2: Expose AddMarker via IDL. r=ehsan
--HG--
extra : rebase_source : 208a4569f5a9e2895400ed244483d4e160b36f48
2012-09-05 09:45:28 -04:00
Benoit Girard
b08639ab02 Bug 773428 - Part 1: Support dynamic profiler markers. r=ehsan
Add support for dynamic markers. All markers are copied and a signal lock is introduced to guard the stack usage. Because the marker stack is guarded by the signal lock the variables are no longer volatile.

--HG--
extra : rebase_source : 9c87347065bdff85430f53453099941895d064da
2012-12-11 14:10:56 -05:00
Nicholas Nethercote
b5d6a83387 Bug 819833 (part 2) - Remove fix-macosx-stack.pl because it's unused. r=ted.
--HG--
extra : rebase_source : 66c605bd2086b1a014fa361f7725536c135cdeb7
2012-12-10 21:19:18 -08:00
Ed Morley
e3c3b565a6 Backout 14d25f6b938e (bug 809317) for build failures on a CLOSED TREE 2012-12-11 21:13:15 +00:00
Benoit Girard
3827142689 Bug 809317 - Add stackwalking to SAMPLER_PRINT_LOCATION on mac. r=ehsan
--HG--
extra : rebase_source : c2cb7d1b61d18054105115034585a251bce6a58b
2012-11-19 18:31:47 -05:00
Benoit Girard
1b7a30926b Bug 809571 - Remove the libunwind stack walking code for ARM/Android. r=ehsan
--HG--
rename : browser/components/tabview/test/browser_tabview_privatebrowsing_perwindowpb.js => browser/components/tabview/test/browser_tabview_privatebrowsing.js
extra : rebase_source : d17a5a6e4606cc7337f94f3c353f2e5c955b5068
2012-11-22 14:04:56 -05:00
Bas Schouten
b9008c091b Bug 816117 - Part 3: Only get control registers from the profiled thread. r=bgirard 2012-12-08 06:15:21 +01:00
Bas Schouten
6b3ae3b49e Bug 816117 - Part 2: Pass the thread context to NS_StackWalk on Win32. r=bgirard 2012-12-08 06:15:21 +01:00
Bas Schouten
6a7b3d219c Bug 816117 - Part 1: Add the ability to pass around a windows Thread Context to StackWalkMain64. r=ehsan 2012-12-08 06:15:21 +01:00
Ed Morley
e4ea9e7330 Backout b5c19fdea86e (bug 809317) for windows build bustage 2012-12-05 23:10:15 +00:00
Benoit Girard
42b1460c64 Bug 809317 - Part 2: Support stackwalking. r=ehsan
--HG--
extra : rebase_source : 171005fa54d435b496930a2b2213673249cbee09
2012-11-19 18:31:47 -05:00
George Wright
1360f7d4f0 Bug 818279 - Don't namespace prefix PL_DHASH_NEXT to fix a compile failure on linux/clang. r=ehsan 2012-12-04 22:02:54 -05:00
Benoit Girard
b7a9c7699e Bug 818213 - Define SAMPLER_SHUTDOWN for builds without the profiler turned on; r=ehsan 2012-12-04 15:09:59 -05:00
Jacek Caban
41ef333904 Bug 817966 - Fix JSCustomObjectBuilder.h compilation on mingw; r=ehsan 2012-12-04 10:52:32 -05:00
Benoit Girard
d27aa194f6 Bug 799640 - Part 2: Save profiles on shutdown using custom JSON encoder. r=ehsan 2012-11-30 12:49:20 -05:00
Benoit Girard
184d3f808e Bug 799640 - Part 1: Refactor JSObjectBuilder. r=ehsan 2012-11-30 12:46:59 -05:00
Ehsan Akhgari
87109a7e0b Backed out 3 changesets (bug 799640) on the suspicion of regressing Tp5 by 50%
Backed out changeset 133c704dbcc6 (bug 799640)
Backed out changeset b130bb991d84 (bug 799640)
Backed out changeset e47b059493cf (bug 799640)
2012-11-30 16:05:13 -05:00
Benoit Girard
d94819ea28 Bug 799640 - Part 2: Save profiles on shutdown using custom JSON encoder. r=ehsan 2012-11-30 12:49:20 -05:00
Benoit Girard
5840777ebf Bug 799640 - Part 1: Refactor JSObjectBuilder. r=ehsan 2012-11-30 12:46:59 -05:00
Benoit Girard
d8e17f8706 Bug 805797 - Validate sp before unwinding to fix crash in mozilla::FramePointerStackWalk. r=ehsan 2012-11-21 16:24:39 -05:00
Benoit Girard
4ffaaf90a9 Bug 809317 - Part 1: Provide a pseudo stack implementation of SAMPLER_PRINT_LOCATION. r=ehsan
--HG--
extra : rebase_source : ba956341ba6115f5c0f60a067c46aee45d29724b
2012-11-19 18:13:28 -05:00
Ehsan Akhgari
e0a27e2597 Bug 813086 - Update the Chromium license block in the profiler code
DONTBUILD
2012-11-19 14:02:32 -05:00
Nicholas Nethercote
a6628ddd7d Bug 812070 (part 2) - Speed up fix-linux-stack.pl by adding a cache for previously queried addresses.
--HG--
extra : rebase_source : 286ff300d8ef36ff136d0a55bcef2dcf43845b04
2012-11-15 14:38:24 -08:00
Nicholas Nethercote
f02120e33b Bug 812070 (part 1) - Merge %pipes and %address_adjustment in fix-linux-stack.pl.
--HG--
extra : rebase_source : db6a782a2e5df081d885b3eb72dcd19e7b196687
2012-11-15 14:38:21 -08:00
Boris Zbarsky
fa61227956 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Jim Chen
8f01552b67 Bug 761287 - Follow-up to fix TableTicker.cpp bustage; r=ehsan 2012-11-13 15:54:14 -05:00
Jim Chen
2b56bdcbe6 Bug 761287 - Fix NDKr8 build by including Android sigcontext instead of using our own; r=ehsan 2012-11-08 11:45:17 -05:00
Andrew Quartey
36ae7e6c05 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Andrew Quartey
1d0db40554 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Ehsan Akhgari
78b2656cbc Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
03be701616 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Benoit Girard
6d8362a8e3 Bug 804724 - Add an abort painting marker. r=ehsan
--HG--
extra : rebase_source : 10f327e91b15d673303eb607a361c1c4d14a1e92
2012-10-23 17:18:37 -04:00
Brian Smith
035e8b8432 Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan 2012-10-18 15:55:48 -04:00
Isaac Aggrey
9e41ce2fa0 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Benoit Girard
37077f8d96 Bug 802333 - Reduce the default profile size for ARMv6 devices. r=blassey 2012-10-18 11:12:53 -04:00
Benoit Girard
bf321cf197 Bug 799638 - Export profiler markers when saving profiler profiles. r=ehsan 2012-10-15 10:33:20 -04:00
Benoit Girard
661d809b9f Bug 799638 - Use stackwalk on startup profiling for win/mac. r=ehsan
--HG--
extra : rebase_source : 67b8b37cbb4c013a7bb81f318d7975dece23c76e
2012-10-14 12:08:11 -04:00
Nicholas Nethercote
e37c1e657a Bug 800703 - Rename the existing, Valgrind-based DMD as "DMDV". r=khuey.
--HG--
rename : xpcom/base/dmd.h => tools/dmdv/dmdv.h
2012-10-08 15:31:17 -07:00
Ryan VanderMeulen
543edbebda Backed out a57ade621efb, 2a8fef2bd228, 632ce3e7d3ef (bug 799638) for bustage. 2012-10-13 21:22:30 -04:00
Benoit Girard
e5fb3b6225 Bug 799638 - Export profiler markers when saving profiler profiles. r=ehsan 2012-10-13 21:03:22 -04:00
Benoit Girard
bfc6918b6b Bug 799638 - Use stackwalk on startup profiling for win/mac. r=ehsan 2012-10-13 21:03:09 -04:00
Andrew Quartey
b50ced0c60 Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
9b685a759c Bug 792581 - part 17: Replace LL_L2F macro with a double cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
6d6e443bea Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
ea52f5f496 Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Mike Hommey
39519068b5 Bug 797717 - Initialize SPS in NS_InitXPCOM2 to make JS sampling work in xpcshell. r=benwa 2012-10-06 10:37:45 +02:00
Rafael Ávila de Espíndola
601484e332 Bug 798429 - Add new talos test names. r=jhammel. 2012-10-05 13:06:34 -04:00
Andrew Quartey
52003ca06d Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
42f2f3750f Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
1839819e70 Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Andrew Quartey
5fcf688c9c Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Andrew Quartey
3d83b94fcb Bug 792581 - part 6: Replace LL_UCMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey
40154f9c13 Bug 792581 - part 3: Replace LL_NE macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Benoit Girard
e9c9f993e3 Bug 794206 - Initialize mRuntime. r=ehsan 2012-10-01 12:51:03 -04:00
Isaac Aggrey
e5d101621c Bug 795507: Remove usage of PR_BEGIN_EXTERN_C and PR_END_EXTERN_C; r=ehsan 2012-09-30 21:10:22 -05:00
Chris Jones
6cc8c0001b Bug 791404: Sample at 10ms on gonk for more realistic results. r=BenWa 2012-09-24 15:38:07 -07:00
Chris Jones
a04ecf1343 Bug 791399: Use the OS tmp dir for saving files on b2g, because content processes can't write elsewhere. r=BenWa 2012-09-24 15:38:07 -07:00
Chris Jones
7ae67ea824 Bug 791398: Lower the default sample size to prevent OOMs. r=BenWa 2012-09-24 15:38:07 -07:00
Mike Hommey
145dba47cc Bug 790593 - Notify when the profiler starts and stops through the observer service. r=ehsan 2012-09-20 19:36:50 +02:00
Jeff Muizelaar
a9fdfb06b1 Bug 789717. Use JS_InternStringN to avoid large memory usage in the profiler. r=ehsan
We duplicate a large number of strings. This helps cut down on that.

--HG--
extra : rebase_source : 897b54343ab44f23402a247eeda836f066fbb49a
2012-09-17 14:22:47 -04:00
Makoto Kato
909aba1eb8 Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Mike Hommey
8618e6e39e Bug 790261 - Avoid the profiler misbehaving randomly when mozilla_sampler_start is given impossible values. r=Benwa 2012-09-11 17:33:53 +02:00
Rafael Ávila de Espíndola
651a7445f8 Bug 786504 - Add a simple script to compare test runs in two revisions. r=jhammel. 2012-09-10 17:36:01 -04:00
Nick Thomas
60c69c4a36 Bug 770996, force firefox binary on Mac so that partner builds can use partials, r=catlee NPOTB 2012-09-07 11:57:28 +12:00
Benoit Girard
db7bf9d26c Bug 788888 - Increase the default profile size to 1 million entries. r=ehsan 2012-09-06 01:21:03 -04:00
Benoit Girard
b63e64f381 Bug 788400 - Part 2: Add a frame number to profiles. r=ehsan 2012-09-05 11:45:17 -04:00
Mike Hommey
5052fa9f73 Bug 749518 - Don't use dl_iterate_phdr on gonk. r=BenWa 2012-09-04 10:59:01 +02:00
Benoit Girard
6d01b14ae7 Bug 749518 - Forward declare dl_iterate_phdr with extern C. r=glandium 2012-09-04 10:24:16 -04:00
Benoit Girard
11c3e797d8 Bug 749518 - Use dl_iterate_phdr instead of proc/maps for Linux symbolicate. r=glandium 2012-08-30 11:48:35 -04:00
Ed Morley
3f7d262f82 Backout a8b73286ba78 (bug 749518) for breaking B2G gb_armv7a_gecko builds 2012-09-03 12:10:10 +01:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Benoit Girard
e08087f75a Bug 749518 - Use dl_iterate_phdr instead of proc/maps for Linux symbolicate. r=glandium 2012-08-30 11:48:35 -04:00
Luke Wagner
ce71e55555 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Rafael Ávila de Espíndola
7ab935bae1 Bug 783154 - Refactor the chrome hang code to use the same class as write poisoning. r=taras,benwa,vladan.
--HG--
extra : rebase_source : 1f43ac88ceabc698ba0a58715562db90af1c266f
2012-08-21 17:14:38 -04:00
Alex Crichton
d30e90c2d8 Bug 778979 - Part 5: Expose the line number in the JSON output of SPS. r=ehsan 2012-08-10 16:43:30 -07:00
Alex Crichton
59d5ea8043 Bug 778979 - Part 2: Change SPS's StackEntry to inherit from js::ProfileEntry and add a line number. r=ehsan 2012-08-10 16:42:54 -07:00
Rafael Ávila de Espíndola
f643277414 Bug 780272 - Audit calls to MozillaUnRegisterDebugFD. r=jlebar.
--HG--
extra : rebase_source : 53672602bfd370626916bcd0f5bc71859f8520c2
2012-08-10 12:40:21 -04:00
Ms2ger
331accfcb4 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Mike Hommey
53fddf08b8 Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-08 09:33:16 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Rafael Ávila de Espíndola
584c37691a Bug 778167 - Fix the offset of OS X libraries. r=bgirard. 2012-07-30 11:06:37 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jeff Muizelaar
2542cf3e29 Bug 777032. Add support for high resolution profiling on win32. r=ehsan.
The default sleep time on windows is 15.6ms. This is insufficient for our
profiling needs. Use timeBeingPeriod to adjust this when necessary.

--HG--
extra : rebase_source : 0fae6fc052a3eaa94e60e92e68998bf2e6328516
2012-07-26 12:02:48 -04:00
Benoit Girard
dbd5343d95 Bug 774978 - Profiler saving restored to /sdcard because most appfolder are read protected. r=glandium 2012-07-24 13:29:59 -04:00
Ehsan Akhgari
1c50b4958d Remove the unused variable (no bug) 2012-07-19 00:45:35 -04:00
Ehsan Akhgari
850bd5cad2 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (tools/profiler parts); blanket-r=bzbarsky 2012-07-19 00:42:48 -04:00
Alex Crichton
d0f7efe4f6 Bug 772078 - Remove JS entries even when stopping the SPS profiler. r=luke 2012-07-11 16:23:52 -07:00
Benoit Girard
ae9980b416 Bug 772715 - Use JSON instead of string profiles on mobile. r=ehsan,sfink
--HG--
extra : rebase_source : c3c2224d130580df6aea310a24532c0321ea9a09
2012-07-11 15:36:04 -04:00
Mike Hommey
5dc932f9c0 Fixup for bug 771103. r=bgirard 2012-07-11 17:28:04 +02:00
Mike Hommey
59d4c39019 Bug 771103 - Allow to start the profiler with a signal on Android. r=bgirard,r=blassey 2012-07-11 16:55:22 +02:00
Benoit Girard
0054ebe13f Bug 772630 - Deay JS profiling until we have a JSRuntime. r=ehsan,acrichton 2012-07-10 22:05:38 -04:00
Benoit Girard
5aa63fdcad Bug 766579 - Part 2: Intertwine during sampling. r=jmuizelaar
--HG--
extra : rebase_source : e2ddcc188fcd6a2b3b6c35d3517fb7ec8ae7deab
2012-06-27 19:04:58 -04:00
Benoit Girard
adc71ae1dd Bug 766579 - Part 1: Add SP param to NS_StackWalk. r=dbaron
--HG--
extra : rebase_source : dd4905ffadf5fe9327449fffdfbc665b05d74a6a
2012-06-27 16:08:21 -04:00
Mike Hommey
c595d9ad0f Bug 771056 - Use NS_OS_TEMP_DIR to save SPS profile data. r=bgirard 2012-07-10 09:26:57 +02:00
Mike Hommey
e744d04fd0 Bug 771110 - Properly log the file name under which profile data is saved. r=bgirard 2012-07-09 12:48:27 +02:00
Alex Crichton
f491495a41 Bug 761261 - Add JS profiling to SPS (r=luke,ehsan)
--HG--
extra : rebase_source : 328a82697aa9a9f63d18c7a30a813f436e163922
2012-06-20 17:58:55 -07:00
Benoit Girard
0567a2bf1e Bug 771608 - Fix a crash when saving a text profile; r=ehsan 2012-07-06 16:40:10 -04:00
Ehsan Akhgari
e75a8de7a3 Bug 767338 - Increment the module's refcount and ensure the validity of its base address in the virtual address space before attempting to read its PDB info to make sure that it doesn't get unloaded too soon; r=vladan 2012-07-01 14:47:20 -04:00
Benoit Girard
ba8872f58b Bug 769989 - Store time information in each sample. r=jmuizelaar 2012-07-05 15:49:19 -04:00
Benoit Girard
6fff8c0cd1 Bug 769963 - Record responsiveness in jank mode. r=jmuizelaar 2012-07-05 15:47:20 -04:00
Vladimir Vukicevic
fa046b2d0d b=768598, [profiler] save LR register on ARM Android, for some additional syscall info, r=bgirard 2012-07-04 11:25:15 -04:00
Rafael Ávila de Espíndola
7f776661b8 Bug 732173 - poison write during shutdown in a debug build. r=ted.
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Benoit Girard
35d77a0183 Bug 707308 - Support dynamic stack labels for profile. r=jmuizelaar
--HG--
extra : rebase_source : 6960978d26a056ab2d581e23b024e3a2f5bc3e60
2012-06-20 19:22:02 -04:00
Benoit Girard
0894ea953b Bug 767844 - Store meta data in profile. r=jrmuizel
--HG--
extra : rebase_source : 06aeaf36666fa293f688aa9b0d6d8e9772874eb4
2012-06-26 23:43:28 -04:00
Benoit Girard
6849940104 Bug 707308 - Add Dynamic profiling labels. r=jmuizel,ehsan
--HG--
extra : rebase_source : 1a72148342e7a71de62230ac2ca3a283724e4bbd
2012-06-26 23:25:14 -04:00
Benoit Girard
cfbac50242 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-26 17:57:43 -04:00
Benoit Girard
0555a1c0e5 Backout 493781e75ced (Bug 765357) 2012-06-25 19:23:25 -04:00
Benoit Girard
6577506058 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-25 16:49:41 -04:00
Benoit Girard
5173e4e0a5 Backout 746513dca667 (Bug 765357) due to xpcshell orange (linux, mac). 2012-06-24 21:00:21 -04:00
Benoit Girard
4abd06b934 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-24 18:53:36 -04:00
Daniel Holbert
96f684d821 Bug 764616: Fix constructor out-of-order constructor init-list in Gecko profiler, to silence build warning. r=benwa 2012-06-13 16:24:48 -07:00
Makoto Kato
abfa704c45 Bug 761912 - add VS11 debug dll to trace malloc. r=dbaron 2012-06-06 14:45:45 +09:00
Ehsan Akhgari
6e695392b5 Bug 758890 - Destroy the TableTicker object when the profiler is stopped; r=BenWa 2012-05-31 19:38:49 -04:00
Benoit Girard
5c244ca52e Bug 759532 - [Backout] Expose Enter/ExitProfileLabel to JS. r=ehsan 2012-05-30 15:59:08 -04:00
Benoit Girard
37109ae416 Bug 759532 - Expose Enter/ExitProfileLabel to JS. r=ehsan
--HG--
extra : rebase_source : e1dbc7995ce2dfd52ece4c3fd3d76cc6cd95896f
2012-05-30 12:47:19 -04:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Mike Hommey
6dfe5aecce Bug 756965 - Allow mozilla::ThreadLocal to store integer types smaller than, or as large as, a pointer. r=Waldo 2012-05-22 08:43:55 +02:00
Benoit Girard
988a49ebdd Bug 750989 - Pause Profiler during saving. r=mstange,jrmuizel
--HG--
extra : rebase_source : e1a6623d2a0de80423efb76c5b35e7734b119635
2012-05-18 17:03:10 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari
78960523d9 Bug 755904 - Rename the pkey_xxx variables; r=BenWa 2012-05-16 17:20:06 -04:00
Ehsan Akhgari
21db48ba20 Bug 753119 - Add ThreadLocal to mfbt - r=jwalden
... because nobody likes to use the NSPR TLS support.
2012-05-09 16:54:33 -04:00
Mike Hommey
c20538e54d Bug 748001 - Use explicit targets for object files. r=ted 2012-05-15 07:44:32 +02:00
Landry Breuil
683f9c1ac7 bug 749678 - inconditionally export thread_helper.h, gfx/gl requires it - r=bjacob
This is a VERY TEMPORARY fix until bug 753119 lands. The only reason why it's acceptable
is that bug 753119 will take it out very soon. Non-profiler code should not use profiler headers.
2012-05-11 07:55:39 -04:00
Michael Wu
7c5f428a57 Bug 753039 - Error building gonk on OSX due to dont_build_docs.sh, r=ehsan 2012-05-09 14:30:22 -07:00
Nathan Froyd
4e4c07f7b3 Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Michael Wu
07d3af55af Backed out changeset 688c0eedab28 for red, r=red 2012-05-08 14:14:51 -07:00
Michael Wu
3d1ae3bf5e Bug 753039: Error building gonk on OSX due to dont_build_docs.sh; r=ehsan 2012-05-08 13:49:27 -07:00
Benoit Girard
3711e9c6c7 Bug 753041 - Fix 32-bit address sign extension in the Gecko Profiler. r=jmuizelaar
--HG--
extra : rebase_source : 1df7f91afc3572bf529a390d3e15a206b6dcedb9
2012-05-08 15:38:11 -04:00
Benoit Jacob
3dd461acb2 Bug 749678 - 2/5 - add include guards to thread_helpers.h - r=ehsan 2012-05-08 09:47:34 -04:00
Mike Hommey
2ac7ff412c Bug 751072 - Remove tools/profiler/libunwind/src/autom4te.cache. r=ted 2012-05-07 14:13:10 +02:00
Benoit Girard
6c14a055dc Bug 751779 - Enable leaf address profiling with the gecko profiler on windows. r=jmuizelaar 2012-05-04 15:33:35 -04:00
Benoit Girard
b641a2373a Bug 751779 - Enable leaf address profiling with the gecko profiler on mac. r=jmuizelaar 2012-05-03 21:23:27 -04:00
Joey Armstrong
844ee8d341 Bug 739710 - Makefile.in edits to use mkdir_deps function: file batch #2. r=ted 2012-05-03 06:22:33 -04:00
Mike Hommey
d643aad293 Bug 750290 - Remove tools/leaky. r=dbaron 2012-04-30 18:17:46 +02:00
Mike Hommey
1dd2eff16e Bug 750267 - Remove tools/elf-dynstr-gc. r=ted 2012-04-30 18:17:44 +02:00
Benoit Girard
1fc7c9cd39 Bug 747408 - Increase default sampling rate to 1ms for profiling fennec. r=jmuizelaar a=akeybl 2012-04-20 11:31:09 -04:00
Jeff Muizelaar
adc4a0be22 Bug 745864 - make SAMPLE_LABELS per line instead of per independent scope. r=bgirard a=blassey
--HG--
extra : rebase_source : 1d09f95da1677e9d13932017894f443d02aa40af
2012-04-17 16:21:23 -04:00
Ehsan Akhgari
54b5ee7178 Bug 735262 - Fix the compilation error on profiling builds; r=me a=npotb 2012-04-18 12:55:48 -04:00
Jeff Muizelaar
1fcd79bd68 Bug 739510. JSObjectBuilder: Speed up construction of char * properties. r=ehsan
This eliminates two additional copies: NS_ConvertASCIItoUTF16 and
PromiseFlatString by constructing the JSString directly. It is also designed so
that literal strings will have their strlen computed at compile time.

--HG--
extra : rebase_source : 05169480e6ffbf42a9f5cc131dc775c699841b19
2012-03-26 23:35:28 -04:00
L. David Baron
5e31c7d89a Fix compilation error by fixing up more code. (Bug 735262) r=jrmuizel 2012-04-16 15:32:11 -07:00
Benoit Girard
5df1872126 Bug 745556 - Include shared library info in text profile dump for android symbolication. r=jmuizelaar 2012-04-16 09:32:18 -04:00
Jeff Muizelaar
60fa9c5bc9 Bug 735262. Make leaf address printing saner. r=bgirard
We don't need to store an mLeafAddress field for each profile entry.
Instead just add a 'l' tag for the leaf entries.

--HG--
extra : rebase_source : e8e578d000a672f8d198541b4c00ff8ab570d95e
2012-04-13 14:56:51 -04:00
Benoit Girard
18ebb8783e Bug 719536 - Expose shared library offsets for proper symbolication. r=jmuizelaar 2012-04-13 16:33:53 -04:00
Jeff Muizelaar
71ea009d78 Backout acefe9a94a63 - Bug 735262 because of B2G breakage. 2012-04-13 14:55:13 -04:00
Jeff Muizelaar
6d29abbb71 Bug 735262. Make leaf address printing saner. r=bgirard
We don't need to store an mLeafAddress field for each profile entry.
Instead just add a 'l' tag for the leaf entries.
2012-04-10 11:48:55 -04:00
Ye Kaiqi
c980fe2705 Bug 739072 - Change spelling error "thoes" to "those". r=coop 2012-04-09 18:30:34 -04:00
Brian Smith
7963f7d566 Bug 736898: Avoid signed/unsigned comparisons in tools/profiler, r=bgirard
--HG--
extra : rebase_source : 53eadd48e29fc1aae143b0480bcb573a392e1130
2012-04-04 18:56:25 -07:00
Vladan Djeric
da96529e15 Bug 741242 - Fix profiler address output broken by bug 739800 on Mac 64 bit. r=bgirard 2012-04-02 14:34:39 -04:00