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

3418 Коммитов

Автор SHA1 Сообщение Дата
Aaron Klotz e9ad1fd893 Bug 867762: NSPR and SQLite Main Thread I/O Interposing. r=BenWa 2013-06-14 12:01:02 -06:00
Jim Chen c98b67af47 Bug 863777 - Add and turn on privacy mode in profiler for ANR reports; r=BenWa 2013-06-14 12:42:10 -04:00
Jim Chen 379f413a13 Bug 863777 - Letting profiler start/stop from a non-registered thread; r=BenWa 2013-06-14 12:42:10 -04:00
Joey Armstrong 0c4c92488f bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1) r=mshal 2013-06-13 12:02:02 -04:00
Andrew McCreight a7232f55ed Bug 550335 - fix_macosx_stack for 64-bit. r=ted 2012-05-25 09:07:24 -07:00
Florian Quèze 31502efe24 Bug 878419 - Syntax error in make_incremental_updates.py since bug 841094, r=glandium. 2013-06-05 18:19:18 +02:00
Boris Zbarsky ac87784e7f Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00
Trevor Saunders 9bdeaf5ccc bug 876519 - include ostream instead of iostream in the profiler to get rid of static initializers r=ehsan 2013-05-27 08:29:24 -04:00
Julian Seward eb8e819973 Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard. 2013-05-28 14:03:38 +02:00
Mike Shal 5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Joey Armstrong 2c39cbb922 bug 870406: move to moz.build (config batch #1) r=mshal 2013-05-24 17:21:14 -07:00
L. David Baron a656f45a92 Bug 855081: Make jprof compile for me by switching from cplus_demangle (which doesn't link) to abi::__cxa_demangle. r=jesup 2013-05-13 15:37:00 -07:00
Joey Armstrong 26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Brian O'Keefe 8d90859ddb Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-05-01 14:05:40 -04:00
Gregory Szorc 298c09657e Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Ehsan Akhgari 8d14481739 Bug 869784 - Fix rooting hazards in the profiler; r=BenWa,till
X-Git-Commit-ID: da732de921f64d9bd6ea028ed384d2d5c80de66f
X-Mailer: git-send-email
2013-05-08 20:21:37 -04:00
Mike Hommey f936e5198e Bug 777379 - Set .DEFAULT_GOAL unconditionally, override with OVERRIDE_DEFAULT_GOAL, and fix pymake to be on par with GNU make when handling .DEFAULT_GOAL. r=gps 2013-05-05 10:16:25 +02:00
Gregory Szorc 522764dec4 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Ryan VanderMeulen 8dd4074205 Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe 7422d5ac7b Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 20:46:10 -04:00
Julian Seward 273ce0e750 Bug 863705 - SPS breakpad: show frame-trust statistics in the debugging log. r=bgirard 2013-05-01 01:00:26 +02:00
Ryan VanderMeulen b6cc74b921 Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures. 2013-04-30 10:08:38 -04:00
Brian O'Keefe 0baa2a32d6 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 09:08:31 -04:00
Joey Armstrong 321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Benoit Girard 5e0ee32176 Bug 865915 - Fixed unmatched JS_EndRequest. r=mccr8 2013-04-29 14:33:47 -04:00
Benoit Girard 4a868d8c33 Bug 853358 - Add plugin profiling support. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 70dfd31809cb644f6405bd144a2e8373268a461c
2013-03-21 10:17:23 +01:00
Benoit Girard 646b0e56b9 Bug 788022 - Bustage fix for ANDROID define on a CLOSED TREE. r=bustage 2013-04-23 14:33:38 -04:00
Benoit Girard c18ef0a706 Bug 788022 - Add support for dalvik profiling. r=snorp,kats
--HG--
extra : rebase_source : 3eb56af40018a546586fd0fb33e343589ddcf207
2013-04-23 13:10:29 -04:00
Ed Morley 4b1e050887 Backed out changeset 26ab26b299a5 (bug 788022) on a CLOSED TREE 2013-04-22 17:43:10 +01:00
Benoit Girard c3f8c5883d Bug 788022 - Add support for dalvik profiling. r=snorp,kats
--HG--
extra : rebase_source : 3021e4315ce0ce5dbef9db84a12502d66dfc7967
2013-04-19 15:34:56 -04:00
Julian Seward 25ee4aba7a Bug 859745 - Install sane unwinding limit for SPS/breakpad. r=ted 2013-04-22 17:10:54 +02:00
Benoit Girard 71bbc1c63b Bug 856331 - Make breakpad unwinding runtime switchable. r=jseward
--HG--
extra : rebase_source : 1094beb17115a0d0e4d27eeb848c3932dfe0b2b0
2013-04-01 15:45:03 -04:00
Randell Jesup 7852e2c3e4 Bug 863429: Fix jprof on debug builds, remove evilness NPOTB DONTBUILD rs=dbaron 2013-04-19 09:54:16 -04:00
Benoit Girard cbe0e4945b Bug 862500 - Properly shutdown profiler in xpcshell, shutdown and error cases. r=snorp
--HG--
extra : rebase_source : 22eeccdcee83e3fd03687e6b969b143502a9c5fc
2013-04-18 11:34:49 -04:00
Benoit Girard c01c3468e2 Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : ce0d9f94d2b4deb249e09198f9315f69ad6ee7d4
2013-04-03 18:59:17 -04:00
James Willcox 034fae0ccc Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 04021da9d3d871f51f931b6e6f57a0bbbbaa6393
2013-03-29 15:34:49 -04:00
Ryan VanderMeulen 72635c5a76 Backed out 3 changesets (bug 734691, bug 862500) for leaks.
Backed out changeset 4444510d672f (bug 862500)
Backed out changeset 5c321bc4dc63 (bug 734691)
Backed out changeset e045934f78be (bug 734691)
2013-04-18 08:15:09 -04:00
Benoit Girard 093dfd766b Bug 862500 - Properly shutdown profiler in xpcshell, shutdown and error cases. r=snorp
--HG--
extra : rebase_source : 8b887475b97e3562ca5fd73e93eaa9edab8ef1fb
2013-04-17 12:53:15 -04:00
Benoit Girard 9977ad48b2 Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : 4e7e1681355146e32fbc5ff2aa9891470e241347
2013-04-03 18:59:17 -04:00
James Willcox 4664b7f932 Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : b9ecaa62430dc4f04a2d00a742c4b2d30e479bb5
2013-03-29 15:34:49 -04:00
Mike Shal df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Julian Seward 263241169f Bug 837390 - Profiler livelock caused by SA_RESTART restarting fork() syscall. r=bgirard 2013-04-16 20:53:03 +02:00
Ryan VanderMeulen 29b3a5a2ee Backed out 2 changesets (bug 734691) for leaks.
Backed out changeset ba88d9730af6 (bug 734691)
Backed out changeset 7d2fbf7b0372 (bug 734691)
2013-04-16 13:45:53 -04:00
Benoit Girard df81c2521e Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : 41af95bcc4b6044b7394538e2524528f67cbd1d5
2013-04-03 18:59:17 -04:00
James Willcox f4e6aab526 Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 71db00ee222713fd60ba42be14226b52535a4f1e
2013-03-29 15:34:49 -04:00
Jeff Walden 763718651b Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm 2013-04-05 21:22:55 -07:00
Julian Seward f7e974613d Bug 861800 - Make UnwinderThread2 a bit less verbose. r=bgirard 2013-04-15 17:25:16 +02:00
Julian Seward 1f8653bbbc Bug 861141 - Connect Breakpad on Android to faulty.lib's mmap interface. r=glandium,ted 2013-04-15 16:46:43 +02:00
Vicamo Yang f8906b8557 Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium 2013-04-12 13:39:42 +08:00
Joshua Cranmer aa1ca5d8f4 Bug 856108 - Port static analyses to clang, part 2h: use MOZ_STACK_CLASS everywhere else. r=bsmedberg 2013-04-11 22:22:09 -05:00
Dave Hylands 8e86e018e7 Bug 859928 - Make profiles be saved in temporary directory for B2G. 2013-04-09 12:45:49 -07:00
Ryan VanderMeulen 8b1a61762a Backed out changesets ab64b048ad04 and 025d24d7fee8 (bug 734691) for leaks. 2013-04-08 22:16:21 -04:00
Benoit Girard 69273a1401 Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : 172d75f2183c5ba50ce709aeefcd3534a35724e5
2013-04-03 18:59:17 -04:00
James Willcox f6c0d380d3 Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 8367dc61f9f9026d0110ffe43d5d4d0aa9129e24
2013-03-29 15:34:49 -04:00
Julian Seward b2beefdad3 Bug 855977 - SPS breakpad: disable stack scanning for profiling unwinds. r=bgirard
--HG--
extra : rebase_source : 6735671ab9f4b9e9ce4fc25238cb6c3f01ef4b02
2013-04-06 10:49:11 +02:00
Julian Seward 410b828497 Bug 857242 - Make profiler verbosity on desktop be runtime-selectable. r=bgirard 2013-04-06 10:45:30 +02:00
Jacek Caban 735f1dbd18 Bug 856566 - Fixed crashreporter compilation and profiler on mingw. r=ted 2013-04-05 11:29:50 +02:00
Benoit Girard 967e94fe03 Bug 856281 - Fixed HAVE_NATIVE_UNWIND definition. r=ehsan
--HG--
extra : rebase_source : d142eb85d08563a024e84a9954a890eb01087135
2013-04-02 11:39:04 -04:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ryan VanderMeulen c22be74874 Backed out changeset 7112a6c1efee (bug 734691) for Win8 xpcshell hangs and possible leaks on a CLOSED TREE. 2013-03-29 18:18:38 -04:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
James Willcox e5ba8fa627 Bug 734691 - Add multi-thread support to profiler r=benwa 2013-03-29 15:34:49 -04:00
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
Ted Mielczarek 81f1e0ab8a bug 641829 - add a Quitter extension for profileserver.py. r=jmaher 2011-05-26 09:07:35 -04: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
Nicholas Nethercote bbe751e228 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 bf9f66f195 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 05ba9f02c1 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Jim Chen 0eaf14c15c Bug 761287 - Follow-up to fix TableTicker.cpp bustage; r=ehsan 2012-11-13 15:54:14 -05:00
Jim Chen 779c8b61a6 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 d21a5d8004 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Kyle Huey 0469a02b25 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 a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey 9a3674d80a 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 4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey 50b5d3f681 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 3f4e29b9f0 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Ehsan Akhgari 8e702f60c5 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 f3c0ac7a23 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 952ce640c7 Bug 804724 - Add an abort painting marker. r=ehsan
--HG--
extra : rebase_source : 10f327e91b15d673303eb607a361c1c4d14a1e92
2012-10-23 17:18:37 -04:00
Brian Smith 9a21ea4912 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 c984edf823 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 10dd5e6f78 Bug 802333 - Reduce the default profile size for ARMv6 devices. r=blassey 2012-10-18 11:12:53 -04:00
Benoit Girard 828e28e911 Bug 799638 - Export profiler markers when saving profiler profiles. r=ehsan 2012-10-15 10:33:20 -04:00
Benoit Girard a0793a7600 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 3ee916ea11 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 47fa9fb9a8 Backed out a57ade621efb, 2a8fef2bd228, 632ce3e7d3ef (bug 799638) for bustage. 2012-10-13 21:22:30 -04:00
Benoit Girard a1a3207ba8 Bug 799638 - Export profiler markers when saving profiler profiles. r=ehsan 2012-10-13 21:03:22 -04:00
Benoit Girard 854205b9ae Bug 799638 - Use stackwalk on startup profiling for win/mac. r=ehsan 2012-10-13 21:03:09 -04:00
Andrew Quartey 00edc52f9c Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey da3cde276e Bug 792581 - part 17: Replace LL_L2F macro with a double cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey 3ca8d029a6 Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey ea5e17dc9c Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Mike Hommey cfde56bf95 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 d42b777f5e Bug 798429 - Add new talos test names. r=jhammel. 2012-10-05 13:06:34 -04:00
Andrew Quartey 58aa97ec8b Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey d371ac7c39 Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey 6a3e28f73b Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Andrew Quartey ceaa3c8f60 Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Andrew Quartey ee41e61a85 Bug 792581 - part 6: Replace LL_UCMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey fe71f25457 Bug 792581 - part 3: Replace LL_NE macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Benoit Girard 484edc0107 Bug 794206 - Initialize mRuntime. r=ehsan 2012-10-01 12:51:03 -04:00
Isaac Aggrey 00ccc3bc2e 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 709a2de970 Bug 791404: Sample at 10ms on gonk for more realistic results. r=BenWa 2012-09-24 15:38:07 -07:00
Chris Jones a52035c732 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 1bd51be155 Bug 791398: Lower the default sample size to prevent OOMs. r=BenWa 2012-09-24 15:38:07 -07:00
Mike Hommey 9c64ee8bff 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 356c1623e6 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 6025716d17 Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Mike Hommey d226944fab 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 359398129c 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 414db18df9 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 ae77288478 Bug 788888 - Increase the default profile size to 1 million entries. r=ehsan 2012-09-06 01:21:03 -04:00
Benoit Girard 68799153ea Bug 788400 - Part 2: Add a frame number to profiles. r=ehsan 2012-09-05 11:45:17 -04:00
Mike Hommey 7b1f9d3c0d Bug 749518 - Don't use dl_iterate_phdr on gonk. r=BenWa 2012-09-04 10:59:01 +02:00
Benoit Girard bdf8472a06 Bug 749518 - Forward declare dl_iterate_phdr with extern C. r=glandium 2012-09-04 10:24:16 -04:00
Benoit Girard 47ce0d2788 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 910eed757d Backout a8b73286ba78 (bug 749518) for breaking B2G gb_armv7a_gecko builds 2012-09-03 12:10:10 +01:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Benoit Girard 098210b839 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 ad90af9ca5 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 e368dc9c85 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 56d1a6d649 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 3482931144 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 9cb624c1fe 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 9c483afff4 Bug 780272 - Audit calls to MozillaUnRegisterDebugFD. r=jlebar.
--HG--
extra : rebase_source : 53672602bfd370626916bcd0f5bc71859f8520c2
2012-08-10 12:40:21 -04:00
Ms2ger 75ab7efb95 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Mike Hommey 6a5b86abf8 Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-08 09:33:16 +02:00
Mike Hommey 70d7c821af 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 d52e2f827c Bug 778167 - Fix the offset of OS X libraries. r=bgirard. 2012-07-30 11:06:37 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jeff Muizelaar 83fa3e04da 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 916691bb6f 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 3c50675f87 Remove the unused variable (no bug) 2012-07-19 00:45:35 -04:00
Ehsan Akhgari fc6b30fa6d 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 00703ab27b Bug 772078 - Remove JS entries even when stopping the SPS profiler. r=luke 2012-07-11 16:23:52 -07:00
Benoit Girard 5ce60d5ee5 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 e635e916a5 Fixup for bug 771103. r=bgirard 2012-07-11 17:28:04 +02:00
Mike Hommey e29d706a4a 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 e25a726e82 Bug 772630 - Deay JS profiling until we have a JSRuntime. r=ehsan,acrichton 2012-07-10 22:05:38 -04:00
Benoit Girard c8f0c7a400 Bug 766579 - Part 2: Intertwine during sampling. r=jmuizelaar
--HG--
extra : rebase_source : e2ddcc188fcd6a2b3b6c35d3517fb7ec8ae7deab
2012-06-27 19:04:58 -04:00
Benoit Girard 325b77e999 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 7579c29646 Bug 771056 - Use NS_OS_TEMP_DIR to save SPS profile data. r=bgirard 2012-07-10 09:26:57 +02:00
Mike Hommey b77b1b565b 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 4fb5d45af9 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 5f989addb3 Bug 771608 - Fix a crash when saving a text profile; r=ehsan 2012-07-06 16:40:10 -04:00
Ehsan Akhgari 982e6b357d 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 0578b57267 Bug 769989 - Store time information in each sample. r=jmuizelaar 2012-07-05 15:49:19 -04:00
Benoit Girard 6387987cb2 Bug 769963 - Record responsiveness in jank mode. r=jmuizelaar 2012-07-05 15:47:20 -04:00
Vladimir Vukicevic 8b0cc30abf 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 bc46f77176 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 af83f12073 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 c2c857e7cf Bug 767844 - Store meta data in profile. r=jrmuizel
--HG--
extra : rebase_source : 06aeaf36666fa293f688aa9b0d6d8e9772874eb4
2012-06-26 23:43:28 -04:00
Benoit Girard 7eb7100728 Bug 707308 - Add Dynamic profiling labels. r=jmuizel,ehsan
--HG--
extra : rebase_source : 1a72148342e7a71de62230ac2ca3a283724e4bbd
2012-06-26 23:25:14 -04:00
Benoit Girard f685dd07d9 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-26 17:57:43 -04:00
Benoit Girard 154e0a6996 Backout 493781e75ced (Bug 765357) 2012-06-25 19:23:25 -04:00
Benoit Girard 4383c6a1a5 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-25 16:49:41 -04:00
Benoit Girard 98d50538d1 Backout 746513dca667 (Bug 765357) due to xpcshell orange (linux, mac). 2012-06-24 21:00:21 -04:00
Benoit Girard c2e6a63cb6 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-24 18:53:36 -04:00
Daniel Holbert 09bf6bfeea 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 cb3e90214d Bug 761912 - add VS11 debug dll to trace malloc. r=dbaron 2012-06-06 14:45:45 +09:00
Ehsan Akhgari 6227c72e6a Bug 758890 - Destroy the TableTicker object when the profiler is stopped; r=BenWa 2012-05-31 19:38:49 -04:00
Benoit Girard f0f6913bfd Bug 759532 - [Backout] Expose Enter/ExitProfileLabel to JS. r=ehsan 2012-05-30 15:59:08 -04:00
Benoit Girard 7e3b302b27 Bug 759532 - Expose Enter/ExitProfileLabel to JS. r=ehsan
--HG--
extra : rebase_source : e1dbc7995ce2dfd52ece4c3fd3d76cc6cd95896f
2012-05-30 12:47:19 -04:00
Gervase Markham 68d38d677f 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 27e941762a 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 d0a202d9a0 Bug 750989 - Pause Profiler during saving. r=mstange,jrmuizel
--HG--
extra : rebase_source : e1a6623d2a0de80423efb76c5b35e7734b119635
2012-05-18 17:03:10 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari 718d5656f8 Bug 755904 - Rename the pkey_xxx variables; r=BenWa 2012-05-16 17:20:06 -04:00
Ehsan Akhgari 327c5136de 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 fe881f4ebe Bug 748001 - Use explicit targets for object files. r=ted 2012-05-15 07:44:32 +02:00
Landry Breuil da094a085a 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 aeb32f9cf9 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 38fd6d3529 Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Michael Wu f3ca0d61d3 Backed out changeset 688c0eedab28 for red, r=red 2012-05-08 14:14:51 -07:00
Michael Wu 2686deecfe 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 e2f0231564 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 b97eec9c6c Bug 749678 - 2/5 - add include guards to thread_helpers.h - r=ehsan 2012-05-08 09:47:34 -04:00
Mike Hommey 83278f08e3 Bug 751072 - Remove tools/profiler/libunwind/src/autom4te.cache. r=ted 2012-05-07 14:13:10 +02:00
Benoit Girard 5073323906 Bug 751779 - Enable leaf address profiling with the gecko profiler on windows. r=jmuizelaar 2012-05-04 15:33:35 -04:00
Benoit Girard 4e336e29cc Bug 751779 - Enable leaf address profiling with the gecko profiler on mac. r=jmuizelaar 2012-05-03 21:23:27 -04:00
Joey Armstrong 6bf8cf559d 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 2f50458bc1 Bug 750290 - Remove tools/leaky. r=dbaron 2012-04-30 18:17:46 +02:00
Mike Hommey f034ce66d3 Bug 750267 - Remove tools/elf-dynstr-gc. r=ted 2012-04-30 18:17:44 +02:00
Benoit Girard 3f35cb1bcb 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 00409b37a6 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 bf6e80e313 Bug 735262 - Fix the compilation error on profiling builds; r=me a=npotb 2012-04-18 12:55:48 -04:00
Jeff Muizelaar d9feb65b18 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 e072f851f5 Fix compilation error by fixing up more code. (Bug 735262) r=jrmuizel 2012-04-16 15:32:11 -07:00
Benoit Girard 0c48158611 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 4b50b945c5 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 795e91d42a Bug 719536 - Expose shared library offsets for proper symbolication. r=jmuizelaar 2012-04-13 16:33:53 -04:00
Jeff Muizelaar e9d9575eba Backout acefe9a94a63 - Bug 735262 because of B2G breakage. 2012-04-13 14:55:13 -04:00
Jeff Muizelaar 9c450cf671 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 6bd5741dbb Bug 739072 - Change spelling error "thoes" to "those". r=coop 2012-04-09 18:30:34 -04:00
Brian Smith 1894f363b5 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 ceb0b3db89 Bug 741242 - Fix profiler address output broken by bug 739800 on Mac 64 bit. r=bgirard 2012-04-02 14:34:39 -04:00
Vladan Djeric d3601149fe Bug 739800 - Force all profiler l-tag addresses to have a 0x prefix. r=bgirard 2012-03-28 19:01:13 -04:00
Vladan Djeric 647b851310 Bug 735829 - Very minor fix: add quotes around PDB name string 2012-03-26 22:02:46 -04:00
Ehsan Akhgari ce74f02c9f Bug 734302 - Part 3: Add a menu item for toggling the profiler on mobile; r=BenWa,dougt
--HG--
rename : mobile/android/base/resources/menu-v11/gecko_menu.xml => mobile/android/base/resources/menu-v11/gecko_menu.xml.in
rename : mobile/android/base/resources/menu/gecko_menu.xml => mobile/android/base/resources/menu/gecko_menu.xml.in
2012-03-16 14:08:03 -04:00
Markus Stange 38ac2ed1e9 Bug 733861 - Use std::ostreams for profile stringification. r=BenWa 2012-03-23 20:09:27 +01:00
Ehsan Akhgari 196b2bd064 Backout changeset 11b6f37603ce (bug 734302) for Android bustage 2012-03-23 15:01:14 -04:00
Ehsan Akhgari a2a9c23ea0 Bug 734302 - Part 3: Add a menu item for toggling the profiler on mobile; r=BenWa,dougt
--HG--
rename : mobile/android/base/resources/menu-v11/gecko_menu.xml => mobile/android/base/resources/menu-v11/gecko_menu.xml.in
rename : mobile/android/base/resources/menu/gecko_menu.xml => mobile/android/base/resources/menu/gecko_menu.xml.in
2012-03-16 14:08:03 -04:00
Marco Bonardo 2b24ab86ca Merge last green PGO from inbound to central 2012-03-23 12:49:57 +01:00
Marco Bonardo 2cd9fb00fc Merge central to inbound 2012-03-23 02:02:03 +01:00
Ehsan Akhgari aa4812e1a1 Bug 734302 - Part 4: Fix the profiling builds on Mac and Windows; r=BenWa 2012-03-22 12:36:45 -04:00
Ryan VanderMeulen 09ebc9706d Backout f42ea2a158e4(bug 733861) due to build bustage on all platforms. 2012-03-22 19:10:16 -04:00
Markus Stange d306834e3e Bug 733861 - Use std::ostreams for profile stringification. r=BenWa 2012-03-22 23:40:33 +01:00
Markus Stange ba9d8ddfb3 Bug 731272 - Add the current instruction to the top of the stack. r=jrmuizel 2012-03-22 23:31:56 +01:00
Markus Stange 7199a538ab Bug 731272 - Don't skip the topmost stack frame. r=jrmuizel 2012-03-22 23:30:37 +01:00
Ehsan Akhgari 14c2f2120c Bug 738302 - Avoid building the libunwind docs so that b2g can be built again; r=BenWa 2012-03-22 17:39:00 -04:00
Matt Brubeck 304bd6c03e Back out c61855cb4558 (bug 734302) because of build failure on Android
--HG--
rename : mobile/android/base/resources/menu-v11/gecko_menu.xml.in => mobile/android/base/resources/menu-v11/gecko_menu.xml
rename : mobile/android/base/resources/menu/gecko_menu.xml.in => mobile/android/base/resources/menu/gecko_menu.xml
2012-03-21 16:26:38 -07:00
Serge Gautherie 965cd4527e Bug 712552. (Av1) Remove MSVC6 support from trace-malloc. r=dbaron.
DONTBUILD (comment-only).
2012-03-23 02:58:24 +01:00
Ehsan Akhgari 29d313feed Bug 734302 - Part 3: Add a menu item for toggling the profiler on mobile; r=BenWa,dougt
--HG--
rename : mobile/android/base/resources/menu-v11/gecko_menu.xml => mobile/android/base/resources/menu-v11/gecko_menu.xml.in
rename : mobile/android/base/resources/menu/gecko_menu.xml => mobile/android/base/resources/menu/gecko_menu.xml.in
extra : rebase_source : 9a4499ff99d661924e1eb09280925ad123ecd948
2012-03-16 14:08:03 -04:00
Ehsan Akhgari 9aac7ab107 Bug 734302 - Part 2: Import the source code of libunwind
--HG--
extra : rebase_source : 2c2343ed6300b8265285179d24f9a4b0c16fc977
2012-03-09 12:42:25 -05:00
Ehsan Akhgari 39736fa93f Bug 734302 - Part 1: Enable the Gecko Profiler on native Fennec; r=BenWa,khuey
--HG--
extra : rebase_source : 050443e4850aac78551ed985aa81522d808bcb6b
2012-03-02 14:11:47 -05:00
Jacek Caban 3242e91654 Bug 737667 - GCC build warning: sps_sampler.h: In member function ?void ProfileStack::push(const char*)?: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (also in addMarker) r=ehsan
--HG--
extra : rebase_source : bdd6093ee36e25fb33b59873be6c1c0068574869
2012-03-21 17:06:01 +01:00
Vladan Djeric 3f47c98434 Bug 735829. Report PDB filename in chrome hang reports. r=ehsan 2012-03-19 19:05:25 -04:00
Jacek Caban 9a02c70f54 Bug 735191 - shared-libraries-win32.cc fails to crosscompile on case-sensitive OSes r=ehsan 2012-03-15 13:44:02 +01:00
Ehsan Akhgari e10fb682a3 Bug 735861 - Make shared-libraries.h not build on platforms where Gecko Profiler is not supported; r=BenWa 2012-03-14 22:58:18 -04:00
Mike Hommey 87ca7a1e77 Bug 734335 - Only build SPS on supported platforms. r=bgirard,r=khuey 2012-03-13 09:48:00 +01:00
Benoit Girard 8cb3acf165 Bug 734691 - Change profiler output format to support threads. r=mstange 2012-03-12 10:58:40 -04:00
Benoit Girard 1e6745a3f8 Bug 734691 - Move Stack to ThreadProfile since it's thread specific. r=mstange 2012-03-12 10:58:37 -04:00
Benoit Girard 2100bc10e4 Bug 734691 - Rename Stack/Profile to imply their thread specific. r=mstange 2012-03-12 10:58:33 -04:00
Benoit Girard 9ad058ba70 Bug 732806 - Fix profiling stack end detection. r=jmuizelaar 2012-03-12 10:57:36 -04:00
Benoit Girard b0dd1400b6 Bug 734707 - Fix Jank profiling feature side effects. r=jmuizelaar 2012-03-12 10:56:33 -04:00
Vladan Djeric a6bb287122 Bug 712109 - Implement chrome hang reporting on profiling branch. r=ehsan 2012-03-12 07:07:05 -04:00
Benoit Girard 072241443d Backout changeset a76566398d36 2012-03-11 12:03:45 -04:00
Benoit Girard 05368a91df Backed out changeset 5f5fc6a1133e 2012-03-11 12:03:05 -04:00
Benoit Girard afbf9dcbfc Bug 734691 - Part 2: Move Stack to ThreadProfile since it's thread specific. r=mstange 2012-03-10 23:09:10 -05:00
Benoit Girard ba2399ab6d Bug 734691 - Part 1: Rename Stack/Profile to imply their thread specific. r=mstange 2012-03-10 23:08:11 -05:00
Jeff Muizelaar ddc66bc4d7 Bug 726369 - Profiler: Make the circular buffer reader code safer. r=BenWa 2012-02-11 18:56:18 -05:00
Jeff Muizelaar 1171e866cf Bug 723711. Return the profile data as JS objects. r=bgirard 2012-02-02 16:57:20 -05:00
Jeff Muizelaar 4ea0f9f5a6 Backout c433e993506b 2012-03-09 11:21:43 -05:00
Jeff Muizelaar 9f2355d175 Bug 723711. Return the profile data as JS objects. r=bgirard 2012-02-02 16:57:20 -05:00
Jeff Muizelaar 79f09f5a88 Bug 732806. Make stackwalking respect the stack end on OS X. r=ehsan
This will help us avoid some crashes.
2012-02-15 00:17:34 -05:00
Markus Stange a72e26ef93 Bug 733792 - Leave original symbol addresses in the profile report. r=bgirard 2012-03-09 16:20:03 +01:00
Markus Stange 7afd2b98b2 Bug 733792 - Add nsIProfiler::getSharedLibraryInformation. r=bgirard 2012-03-09 16:20:00 +01:00
Justin Lebar 69fb6f1047 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Benoit Girard 92065cff8e Bug 708733 - Profiler: Only use leaf data on android ARM. r=ehsan 2012-02-11 10:49:16 -05:00
Benoit Girard 5107e4249d Bug 730302 - Fix GetMarker code in Table::Tick. r=mstange 2012-02-24 11:51:13 -05:00
Jeff Muizelaar 4b29f25915 Bug 724079. Add back the mac backend. r=ehsan
This should improve latency and perhaps fix the crashes
we're seeing in bug 721025.
2012-02-03 15:19:18 -05:00
Benoit Girard 14dbecbda4 Bug 722124 - Profiler cleanup. r=ehsan
--HG--
rename : tools/profiler/sps/TableTicker.cpp => tools/profiler/TableTicker.cpp
rename : tools/profiler/public/nsIProfiler.idl => tools/profiler/nsIProfiler.idl
rename : tools/profiler/sps/platform-linux.cc => tools/profiler/platform-linux.cc
rename : tools/profiler/sps/platform-win32.cc => tools/profiler/platform-win32.cc
rename : tools/profiler/sps/platform.h => tools/profiler/platform.h
rename : tools/profiler/sps/shared-libraries-linux.cc => tools/profiler/shared-libraries-linux.cc
rename : tools/profiler/sps/shared-libraries-macos.cc => tools/profiler/shared-libraries-macos.cc
rename : tools/profiler/sps/shared-libraries-win32.cc => tools/profiler/shared-libraries-win32.cc
rename : tools/profiler/sps/shared-libraries.h => tools/profiler/shared-libraries.h
rename : tools/profiler/sps/sps_sampler.h => tools/profiler/sps_sampler.h
rename : tools/profiler/sps/thread_helper.h => tools/profiler/thread_helper.h
rename : tools/profiler/sps/v8-support.h => tools/profiler/v8-support.h
2012-01-29 01:56:41 -05:00
Ehsan Akhgari e32860d3c4 Bug 721780 - Rename XRE_Main to something more useful; r=BenWa 2012-01-31 10:10:05 -05:00
Ehsan Akhgari d5c4dc2b18 Bug 721564 - Get module information for the profiler on Windows; r=BenWa 2012-01-26 19:03:42 -05:00
Jeff Muizelaar 0afd025549 Bug 719917. Add some more network and plugin related SAMPLE_LABELs. r=bgirard
--HG--
extra : rebase_source : d21f4ffb244ae661e1ca222c02a8fa8b40a071bd
2012-01-18 19:53:35 -05:00
Daniel Holbert 9f920dbf3b Bug 719698: Mark functions in thread_helper.h as 'inline' instead of 'static' to fix build warning when they go unused. r=ehsan 2012-01-20 14:43:12 -08:00
Jeff Muizelaar 5acfb2d6b6 Bug 719176. Add the ability to maintain a temporary buffer of samples. r=ehsan
This lets us make the decision about whether to discard samples later
than when we record them which is important for about:jank.
2012-01-18 18:07:46 -05:00
Matt Brubeck f26465597e Merge last green changeset from inbound to mozilla-central 2012-01-19 10:37:48 -08:00
Tim Taubert 55aff2dc60 merge m-c to fx-team 2012-01-19 12:10:03 +01:00
Robert Strong 90e53d8fe2 RelEng patch - Bug 660038 - Remove channel switching support. r=nthomas 2012-01-18 14:10:25 -08:00
Randell Jesup 3cb9a88bc2 Bug 712224: Make jprof generate output for 'cleopatra' backend. rs=dbaron DONTBUILD 2012-01-18 00:11:00 -05:00
Jeff Muizelaar 19d31dec25 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Jeff Muizelaar 5a364c1545 Bug 719273. Avoid including windows header files into sampler.h. r=ehsan
The windows headers do inconvenient things like:
#define CreateEvent CreateEventW

We'd like to avoid this.
2012-01-19 00:43:03 -05:00
Matt Brubeck 3aa150e837 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar e18b95dabf Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Benoit Girard 96369eaeb1 Bug 719239 - Gecko Profiler: Stackwalk feature isn't reported properly. r=ehsan 2012-01-18 17:50:30 -05:00
Ehsan Akhgari e4db5a029d Bug 718681 - Correct the preprocessor condition in mozilla_sampler_get_features; r=BenWa 2012-01-17 11:49:40 -05:00
Ehsan Akhgari 882bf03bd7 Bug 718026 - Only walk the stack on profiling builds; r=jrmuizel 2012-01-17 11:49:05 -05:00
Ehsan Akhgari fab6fc7788 Bug 718025 - Add support for stacktraces on Windows to the built-in profiler; r=jrmuizel 2012-01-16 19:59:15 -05:00
Phil Ringnalda 885c74d009 Back out 2273e0264d4a (bug 718025) for Windows build failure 2012-01-16 18:24:18 -08:00
Ehsan Akhgari 9600e90ef3 Bug 718025 - Add support for stacktraces on Windows to the built-in profiler; r=jrmuizel 2012-01-16 19:59:15 -05:00
Benoit Girard e3b1bdecdd Bug 717059 - Fix nsProfiler::GetFeatures() to handle zero length and remove warning. r=jmuizelaar 2012-01-14 10:59:09 -05:00
Jeff Muizelaar dba7c91301 Bug 717698. Add about:jank infrastructure. r=ehsan
Adds a profiling mode that only records samples when we
haven't spun the event loop
2011-12-20 15:13:52 -05:00
Landry Breuil 4ac4026a1f Bug 717769 - Include sps_sampler.h if __linux__, not XP_UNIX. r=bgirard 2012-01-14 15:32:53 -05:00
Benoit Girard 7538b61ef9 Bug 717059 - Bustage fix for android. r=bustage 2012-01-12 20:36:55 -05:00
Benoit Girard 5f742ce463 Bug 717059 - Profiler: add 'stackwalk' optional feature for Mac/Linux on profiling builds. r=ehsan 2012-01-10 18:02:00 -05:00
Benoit Girard c8a6ef9d7f Bug 717769 - Fix Built-in Profiler on Linux r=ehsan 2012-01-12 17:41:58 -05:00
Benoit Girard d64f9e929e Bug 717059. Add suppport for optional features. r=ehsan
This will let us detect situations where we have different features in the profiler
and choose to use them.
2012-01-12 13:33:32 -05:00
Benoit Girard 8a41ff6217 Bug 717059. Use double ms instead of float so that the types match. r=ehsan 2012-01-12 11:50:43 -05:00
Benoit Girard 50284c67e1 Bug 715618 - SharedLibrary operator= doesn't handle self assignment properly. r=matspal 2012-01-05 18:11:29 -05:00
Jeff Muizelaar a1d87fa75a Bug 711491. Add in conditional backtrace support. r=bgirard
This still needs work to be togglable at runtime and
is at best a work in progress.

--HG--
extra : rebase_source : 59f17aae034799065f5227d68693f4a5c5de3e1a
2011-12-19 20:33:00 -05:00
Jeff Muizelaar 9776a62b79 Bug 711491. Remove WriteTag. r=bgirard
Just use .TagToString() and fwrite that instead
of having a separate function.

--HG--
extra : rebase_source : 410d052883778de3db85d4573707b040760376ca
2011-12-16 09:12:46 -05:00
Jeff Muizelaar 8435995c3d Bug 711491. Switch profile export to StringBuilder.
This should help performance some.

--HG--
extra : rebase_source : 53aa5b61e95745475283940dd8cd053c84d2bd74
2011-12-16 09:03:54 -05:00
Jeff Muizelaar 350bd02999 Bug 711491. Decide whether to get shared library info at runtime r=bgirard
Now that we have implementations of SharedLibraryInfo for
all platforms we don't need to build support for it conditionally.

--HG--
extra : rebase_source : d40cf1b0b28fab3ef31ab4511fc1ddda98a37a38
2011-12-16 11:54:22 -05:00
Jeff Muizelaar 5b09800c1c Bug 711491. Rough out SharedLibraryInfo for win32. r=bgirard
--HG--
extra : rebase_source : 17e182c652d3eab2d083b98a9d0f5f04fc344a87
2011-12-16 10:56:06 -05:00
Jeff Muizelaar cef64e6009 Bug 711491. Implement SharedLibraryInfo on OS X. r=bgirard
This is based on a patch from bug 698002.

--HG--
extra : rebase_source : ccaf8849e3b8f88bb86e895cf3a22ea289a5e94d
2011-12-15 06:56:52 -05:00
Jeff Muizelaar a067c3405e Bug 711491. Refactor MapInfo. r=bgirard
Moves MapInfo out of platform and renames it to SharedLibrary. There will
eventually be an implementation for all major platforms.

--HG--
extra : rebase_source : c7eae4bc0f0e27f2801c4e639d7dc82b47465f0b
2011-12-15 07:31:41 -05:00
Jeff Muizelaar b4de6c4581 Bug 711491. Add a proper = operator to MapEntry. r=bgirard
This fixes us a bug where we weren't copying the data
properly.

--HG--
extra : rebase_source : a0331cf5d5b61c355447832119a6f7876922e190
2011-12-15 06:58:00 -05:00
Jeff Muizelaar c2a8e75a10 Bug 711491. Port the linux backend to OS X. r=bgirard
This will let us use the signal based approach used
on linux on OS X. This is helpful because backtrace()
only works on the current thread.

--HG--
extra : rebase_source : 68e39af6025e5ba12f64708c453d6be3bb9f7a70
2011-12-08 17:35:36 -05:00
Ehsan Akhgari a6373ebfc3 Bug 713278 - Teach NS_StackWalk to walk the stack of other threads too on Windows; r=dbaron 2011-12-23 18:14:09 -05:00
Jacek Caban 4d919fd3bd Bug 712254 - Use StdInt.h in platform.h r=BenWa
--HG--
extra : rebase_source : 5f5fcf8fff315097638829d95594e347052955ed
2011-12-23 13:21:35 +01:00
Ehsan Akhgari 291767fb1a Bug 713232 - Fix the hang in the built-in profiler on Windows; r=BenWa 2011-12-24 12:11:26 -05:00
Jeff Walden d606eeadd6 Bug 711799 - Fix a few implicit-declaration warnings in trace-malloc. r=dbaron
--HG--
extra : rebase_source : 16fe9eb68d2db1488d89af4001e7d316cb110330
2011-12-17 22:56:55 -05:00
Matt Brubeck 347ae519fe Back out bcf9ce858829 and a3bade82ac92 (bug 711799) for build failures 2011-12-19 10:43:08 -08:00
Jeff Walden bdbd9b00ac Bug 711799 - Fix a few implicit-declaration warnings in trace-malloc. r=dbaron
--HG--
extra : rebase_source : 67dc7295b8a2022e02f892f7eac74414e61b1c86
2011-12-17 22:56:55 -05:00
Jacek Caban 0e1c241639 Bug 711381 - v8-support.h fails to compile on mingw r=felipc 2011-12-19 14:05:54 +01:00
Jeff Walden 16db021217 Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Benoit Girard c7c76c3daa Bug 707185 - Programmatic control for eventtracer. r=ted.mielczarek 2011-12-04 20:53:17 -05:00
Jeff Walden 735580ff0e Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Gavin Sharp 7f25d5cbe5 Bug 696436: consolidate Mac bundle name selection, and allow adding a prefix to it at build time, r=dolske, r=ted relanding with a clobber on a CLOSED TREE 2011-10-27 10:27:56 -07:00
Blair McBride 6c81afa75a Backout 9e94c7b5290f (bug 696436) due to Mac opt breakage. CLOSED TREE 2011-12-16 16:08:48 +13:00
Gavin Sharp e8b9ec60db Bug 696436: consolidate Mac bundle name selection, and allow adding a prefix to it at build time, r=dolske, r=ted
--HG--
extra : rebase_source : 138e3b0259bb144524b1bdb8a6db9d83fe527c71
2011-10-27 10:27:56 -07:00
Justin Lebar 150b02de4b Bug 705856 - Enable SPS profiler on desktop Linux. r=BenWa
--HG--
extra : rebase_source : 1b47cb9924451b7a581f440a3df9d9a4fdf4c0ec
2011-12-15 15:44:13 -05:00
Ehsan Akhgari 0086df097c Bug 703444. Port SPS profiler to Windows. r=jmuizelaar
Some changes and fixes by Felipe Gomes. r=benwa,ehsan
2011-12-04 14:09:00 -05:00
Jeff Muizelaar 9317a91431 Bug 707800. Add more sampler labels. r=bgirard 2011-12-02 17:05:33 -05:00
Jeff Muizelaar aaa89e552f Bug 708629. Avoid using uninitialized pkey_stack. r=bgirard
This was causing crashes with make check/xpcshell on OS X.
2011-12-08 10:46:02 -05:00
Jeff Muizelaar 07c8f896ad Bug 707800. Rename SAMPLE_CHECKPOINT to SAMPLE_LABEL. r=bgirard
Checkpoint was never a good name.
2011-12-02 17:18:26 -05:00
Chris AtLee 8d01aa9835 Bug 481815: makefile hooks required for signing executable files, installer packages, and mars. r=ted
--HG--
extra : rebase_source : 7b696910865fdbc9191cb7511f558879a9b9e05d
2011-12-07 17:06:52 -05:00
Benoit Girard d1076777c3 Bug 699918 - Implement profiler module. r=jmuizelaar 2011-12-07 14:48:15 -05:00
Jeff Muizelaar 47f2748179 Bug 698002. Add MacOS port of the v8 profiler. r=bgirard
This uses a separate thread that will pause the main thread
and read the registers out of it.

--HG--
extra : rebase_source : c73c866d513c054326af117ddf31ce05eca61335
2011-12-01 10:06:20 -05:00