Commit Graph

3054 Commits

Author SHA1 Message Date
Julian Seward
3042ec3bd3 Bug 855662 - SPS breakpad: free breakpad-allocated memory when unwinder thread shuts down. r=bgirard 2013-03-29 08:36:50 +01:00
Phil Ringnalda
111695c5e0 Back out 89e99ecdf29f (bug 734691) for leaking
CLOSED TREE
2013-03-28 20:52:20 -07:00
James Willcox
f272cdf825 Bug 734691 - Add multi-thread support to profiler. r=benwa 2013-03-28 19:51:15 -04:00
Julian Seward
7e2826ed21 Bug 853851 - Transition some breakpad logging to BPLOG. r=ted
--HG--
rename : toolkit/crashreporter/google-breakpad/src/processor/logging.cc => toolkit/crashreporter/google-breakpad/src/common/logging.cc
rename : toolkit/crashreporter/google-breakpad/src/processor/logging.h => toolkit/crashreporter/google-breakpad/src/common/logging.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.cc
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc
extra : rebase_source : c2cf8bcfc7c996e0cdd82422adc7f6a50a8d964a
2013-03-28 18:06:39 +01:00
Julian Seward
0f0fef3042 Bug 855012 - local_debug_info_symbolizer.cc,h and shim_mac_dump_syms.mm,h have no license information (& probably need MPL boilerplate), r=dholbert 2013-03-28 11:30:34 +01:00
Julian Seward
b615697566 Bug 854810 - Use shared-libraries-*.cc instead of home-grown equivalents, r=bgirard 2013-03-27 16:09:56 +01:00
Benoit Girard
8a70878243 Bug 853896 - Turn off MOZ_EVENT_TRACE when profiling. r=ted
--HG--
extra : rebase_source : 2ae36f2f4be730528b0f18154377fa32ee25b49a
2013-03-22 17:16:52 +01:00
Daniel Holbert
8b887f9e4b Bug 855010: Use nsAutoPtr instead of scoped_ptr in LocalDebugInfoSymbolizer::FindCFIFrameInfo(). r=BenWa 2013-03-26 15:54:13 -07:00
Ehsan Akhgari
4bc14288e0 Bug 851828 - Type safety improvements for the profiler in Win64 builds. r=benwa 2013-03-26 13:32:09 -04:00
Benoit Girard
a042084818 Backed out changeset f5a256c02fc6 (bug 851828) for Mochitest failures on a CLOSED TREE. 2013-03-26 16:10:29 -04:00
Ehsan Akhgari
8e9c432152 Bug 851828 - Type safety improvements for the profiler in Win64 builds. r=benwa
--HG--
extra : rebase_source : 10141bdc66228dd6818ff0b10ef95fde78fead8f
2013-03-26 13:32:09 -04:00
Landry Breuil
ab1c8e33ea Bug 851611 followup - fix platforms where MOZ_ENABLE_PROFILER_SPS is undef r=bgirard 2013-03-26 13:00:31 +01:00
Benoit Girard
de8429e6a6 Bug 851748 - Merge TableTicker1+2. r=jseward
--HG--
rename : tools/profiler/TableTicker2.cpp => tools/profiler/BreakpadSampler.cpp
rename : tools/profiler/ProfileEntry2.cpp => tools/profiler/ProfileEntry.cpp
rename : tools/profiler/ProfileEntry2.h => tools/profiler/ProfileEntry.h
2013-03-25 17:57:28 -04:00
Benoit Girard
3472aaff24 Bug 851611 - Part 4: Split out GeckoProfilerFunc.h & PseudoStack.h. r=jrmuizel
--HG--
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 929cd0d6227dd12f6654b61077e63e4d86036dc0
2013-03-15 20:48:56 -04:00
Benoit Girard
042e2c83ad Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
c47f308258 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Benoit Girard
2dc8e495e1 Bug 851611 - Part 1: Refactor profiler interface. r=jrmuizel
--HG--
extra : rebase_source : 4eac969fd5c1d40d96a2223104336709d62a3148
2013-03-15 15:17:50 -04:00
Ehsan Akhgari
d1dd89b2a1 Bug 851830 - Make sure std::min can be used safely in sps_sampler.h on Windows; r=jrmuizel (over the shoulder) 2013-03-16 15:12:19 -04:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
9af1645484 Backed out changeset 77f321ed3d9e (bug 851611) for breaking the build; CLOSED TREE 2013-03-18 14:11:07 +00:00
Ed Morley
ab0833645c Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
3091d3e2b6 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Ed Morley
31e395687b Backed out changeset ecce21507ea0 (bug 851611) 2013-03-18 14:10:25 +00:00
Benoit Girard
35123f2eff Bug 851611 - Part 4: Split out GeckoProfilerFunc.h & PseudoStack.h. r=jrmuizel
--HG--
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 89b92cb9a12d33be5f9d90fa5252637bbb5e2241
2013-03-15 20:48:56 -04:00
Benoit Girard
b03f14270d Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
919018414b Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Benoit Girard
3082f5dff0 Bug 851611 - Part 1: Refactor profiler interface. r=jrmuizel
--HG--
extra : rebase_source : a48e103dd5b31d620dd5ba67dc835ea9dc90864d
2013-03-15 15:17:50 -04:00
Ms2ger
93257af4d7 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
669cc4360c Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ehsan Akhgari
483a31b5bc Bug 851814 - Do not clobber the high word of SharedLibrary addresses/offset on Win64; r=jrmuizel
--HG--
extra : rebase_source : 9bf7d5cd3dd71e0e1b315059bce4836663bc3a65
2013-03-16 15:05:32 -04:00
Bill McCloskey
c7ddf51a4f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Jose Cortes
172ead2b07 Bug 842186 - Replace jsvals with JS::Values in .cpp and .h files inside the ipc, security, tools, caps, xpfe and startupcache directories. r=jwalden
--HG--
extra : rebase_source : 17f26bc48a8ce01b7349adc178a4e62f7d4b3a5e
2013-03-15 22:22:01 -07:00
Benoit Girard
71bffecd0f Bug 850833 - Fix unused function warning. r=bustage CLOSED TREE 2013-03-14 18:10:18 -04:00
Benoit Girard
c82f03d067 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
d424f41bfa Merge mozilla-central into inbound 2013-03-13 09:03:20 -07:00
Gregory Szorc
426ac0cdd3 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
de55b5242b 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
74dc48b41e Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium 2013-03-12 10:20:41 -07:00
Ted Mielczarek
f5ce90e65a bug 751673 - fix Windows assertion stacks. r=dbaron
--HG--
extra : rebase_source : b74882bb3914afaa44341088b9f737c909e88f65
2013-03-11 14:21:53 -04:00
Julian Seward
3a517af32a Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium 2013-03-10 23:00:23 +01:00
Ehsan Akhgari
b0ae3cba8b Bug 848507 - Support searching DXR in mach; r=gps
DONTBUILD because this is NPOTB.
2013-03-06 15:23:21 -05:00
Gregory Szorc
6276779469 Bug 847722 - Mach commands to search The Internets; r=jhammel
DONTBUILD (NPOTB)
2013-03-06 09:58:40 -08:00
Richard Newman
069d23f1a8 Backed out changeset cc45fdc389df (Bug 779291) for breaking Mac Android builds. 2013-03-12 00:14:52 -07:00
Julian Seward
fdeb8cf6c2 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
673bbb1c1e Bug 784841 - Part 18ι: Convert /tools; r=ted 2013-02-25 13:20:01 -08:00
Gregory Szorc
a3509937f6 Bug 827308 - Remove tools/testy; r=ted 2013-02-23 18:18:30 -08:00
Jonathan Kew
9c8145baf7 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
a133579459 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
9e701a256c 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
30553018ab Bug 563195: Fix -Wshadow warnings in public SPS headers. r=BenWa 2013-02-17 22:56:32 -08:00
Mike Hommey
efce124035 Bug 838165 - Cleanup in NSPR hooking in the build system. r=ted 2013-02-14 08:25:43 +01:00
Daniel Holbert
379f84e47d 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
16cbaba0d6 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
55a5c28f5e 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
e145674375 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
bf2d496e6a 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
5825df6926 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
121a80dd05 Bug 831100 - use std::string. Extra reviews. r=ehsan,vladan. 2013-01-17 09:48:37 -05:00
Ehsan Akhgari
63441ac72b 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
57e8f549f6 Bug 831100 - use std::string. r=vladan. 2013-01-16 20:38:22 -05:00
Ed Morley
9569e68638 Bug 828946 - leakstats should output TBPL-parsable error messages; r=ted 2013-01-16 21:53:45 +00:00
Ehsan Akhgari
2df1c5ef16 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
b7ae90666d 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
2dd011a400 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
47452aebf8 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
1ca5519123 Bug 829621 - Compute the breakpad-id for OS X. r=BenWa. 2013-01-11 14:38:40 -05:00
Benoit Girard
50bfaecf34 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
d4a29482b0 Bug 825701 - Use v3 to report hangs. r=vladan. 2013-01-09 15:05:00 -05:00
Nicholas Nethercote
1c4b07debe Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron. 2012-12-20 21:31:57 -08:00
Masatoshi Kimura
c8038527ba Bug 819559 - Enable workarounds for intrinsic functions only on MSVC2005. r=jrmuizel 2013-01-07 04:43:23 +09:00
Robert O'Callahan
943cb99eff 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
4256e397e3 Bug 825901 - Remove the old linker code. r=blassey 2013-01-03 08:43:26 +01:00
David Zbarsky
233ba87f56 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
efaf0192cb Bug 819819 (part 1) - Remove DMDV. r=khuey.
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Mark Banner
cb1444bc4c Bug 823932 Change leaksoup.cpp to use nsAutoTArray rather than nsAutoVoidArray. r=dbaron 2012-12-22 08:59:22 +00:00
Nicholas Nethercote
ee02592928 Bug 819833 (part 3) - Fix fix_macosx_stack.py.
--HG--
extra : rebase_source : edf2b21b1061c5b1aa31d071e24099ab8072d3f5
2012-12-10 21:24:55 -08:00
Benoit Girard
f57cdba670 Bug 820951 - Bustage fix. r=ehsan
--HG--
extra : rebase_source : 58c860f56a22019c3f3982f940ffd22e53d3fd37
2012-12-12 18:01:31 -05:00
Benoit Girard
d8756faf5c 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
b2189b68b6 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
9ee1e48bad 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
3a73cb5adc 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
80d0b8b5fb Backout 14d25f6b938e (bug 809317) for build failures on a CLOSED TREE 2012-12-11 21:13:15 +00:00
Benoit Girard
c4118e26e7 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
18897dc90e 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
22f1ab7082 Bug 816117 - Part 3: Only get control registers from the profiled thread. r=bgirard 2012-12-08 06:15:21 +01:00
Bas Schouten
a60a6c0bfe 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
5c2da9fbfd 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
27386c5a95 Backout b5c19fdea86e (bug 809317) for windows build bustage 2012-12-05 23:10:15 +00:00
Benoit Girard
e0d1312bdb Bug 809317 - Part 2: Support stackwalking. r=ehsan
--HG--
extra : rebase_source : 171005fa54d435b496930a2b2213673249cbee09
2012-11-19 18:31:47 -05:00
George Wright
942601f7c4 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
e80d1122d2 Bug 818213 - Define SAMPLER_SHUTDOWN for builds without the profiler turned on; r=ehsan 2012-12-04 15:09:59 -05:00
Jacek Caban
b73d3130c5 Bug 817966 - Fix JSCustomObjectBuilder.h compilation on mingw; r=ehsan 2012-12-04 10:52:32 -05:00
Benoit Girard
ed38a0c373 Bug 799640 - Part 2: Save profiles on shutdown using custom JSON encoder. r=ehsan 2012-11-30 12:49:20 -05:00
Benoit Girard
e778782065 Bug 799640 - Part 1: Refactor JSObjectBuilder. r=ehsan 2012-11-30 12:46:59 -05:00
Ehsan Akhgari
33a9b305c1 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
3280834c40 Bug 799640 - Part 2: Save profiles on shutdown using custom JSON encoder. r=ehsan 2012-11-30 12:49:20 -05:00
Benoit Girard
ed4058b753 Bug 799640 - Part 1: Refactor JSObjectBuilder. r=ehsan 2012-11-30 12:46:59 -05:00
Benoit Girard
6e776e6d55 Bug 805797 - Validate sp before unwinding to fix crash in mozilla::FramePointerStackWalk. r=ehsan 2012-11-21 16:24:39 -05:00
Benoit Girard
dd15d96b6d 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
8e9ba4dc0b Bug 813086 - Update the Chromium license block in the profiler code
DONTBUILD
2012-11-19 14:02:32 -05:00