Commit Graph

794 Commits

Author SHA1 Message Date
Benoit Girard
1a3591793e Bug 707308 - Add Dynamic profiling labels. r=jmuizel,ehsan
--HG--
extra : rebase_source : 1a72148342e7a71de62230ac2ca3a283724e4bbd
2012-06-26 23:25:14 -04:00
Benoit Girard
0752a03cfe Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-26 17:57:43 -04:00
Benoit Girard
35d801ef76 Backout 493781e75ced (Bug 765357) 2012-06-25 19:23:25 -04:00
Benoit Girard
a62bb79557 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-25 16:49:41 -04:00
Benoit Girard
2a3bded439 Backout 746513dca667 (Bug 765357) due to xpcshell orange (linux, mac). 2012-06-24 21:00:21 -04:00
Benoit Girard
3bcdb3f586 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-24 18:53:36 -04:00
Daniel Holbert
103f5a15ee 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
4b31fdecaa Bug 761912 - add VS11 debug dll to trace malloc. r=dbaron 2012-06-06 14:45:45 +09:00
Ehsan Akhgari
2859b240a3 Bug 758890 - Destroy the TableTicker object when the profiler is stopped; r=BenWa 2012-05-31 19:38:49 -04:00
Benoit Girard
2900ebfd6b Bug 759532 - [Backout] Expose Enter/ExitProfileLabel to JS. r=ehsan 2012-05-30 15:59:08 -04:00
Benoit Girard
4bcebe98b7 Bug 759532 - Expose Enter/ExitProfileLabel to JS. r=ehsan
--HG--
extra : rebase_source : e1dbc7995ce2dfd52ece4c3fd3d76cc6cd95896f
2012-05-30 12:47:19 -04:00
Gervase Markham
d4eb7d5782 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
96de05d930 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
f0f86ab87b Bug 750989 - Pause Profiler during saving. r=mstange,jrmuizel
--HG--
extra : rebase_source : e1a6623d2a0de80423efb76c5b35e7734b119635
2012-05-18 17:03:10 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari
d6c0c01481 Bug 755904 - Rename the pkey_xxx variables; r=BenWa 2012-05-16 17:20:06 -04:00
Ehsan Akhgari
f38cefa90e 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
e1c1bf2c5a Bug 748001 - Use explicit targets for object files. r=ted 2012-05-15 07:44:32 +02:00
Landry Breuil
70bf1bd2d9 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
79d79ac17c 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
14eeb930ab Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Michael Wu
ac918261e5 Backed out changeset 688c0eedab28 for red, r=red 2012-05-08 14:14:51 -07:00
Michael Wu
d46c05f174 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
17aafdc748 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
ac64dc1951 Bug 749678 - 2/5 - add include guards to thread_helpers.h - r=ehsan 2012-05-08 09:47:34 -04:00
Mike Hommey
6dd09c4792 Bug 751072 - Remove tools/profiler/libunwind/src/autom4te.cache. r=ted 2012-05-07 14:13:10 +02:00
Benoit Girard
e25ef03bbb Bug 751779 - Enable leaf address profiling with the gecko profiler on windows. r=jmuizelaar 2012-05-04 15:33:35 -04:00
Benoit Girard
33f292c378 Bug 751779 - Enable leaf address profiling with the gecko profiler on mac. r=jmuizelaar 2012-05-03 21:23:27 -04:00
Joey Armstrong
4f2ec63c86 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
e551920d94 Bug 750290 - Remove tools/leaky. r=dbaron 2012-04-30 18:17:46 +02:00
Mike Hommey
28ffb279a2 Bug 750267 - Remove tools/elf-dynstr-gc. r=ted 2012-04-30 18:17:44 +02:00
Benoit Girard
03de929775 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
50e20109a1 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
b3ddd38877 Bug 735262 - Fix the compilation error on profiling builds; r=me a=npotb 2012-04-18 12:55:48 -04:00
Jeff Muizelaar
e8e8b306a5 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
670a9a3836 Fix compilation error by fixing up more code. (Bug 735262) r=jrmuizel 2012-04-16 15:32:11 -07:00
Benoit Girard
bf86ece599 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
bb64dd457e 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
19a2e771a7 Bug 719536 - Expose shared library offsets for proper symbolication. r=jmuizelaar 2012-04-13 16:33:53 -04:00
Jeff Muizelaar
7648f0f155 Backout acefe9a94a63 - Bug 735262 because of B2G breakage. 2012-04-13 14:55:13 -04:00
Jeff Muizelaar
f1bdafc005 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
3bc848ff14 Bug 739072 - Change spelling error "thoes" to "those". r=coop 2012-04-09 18:30:34 -04:00
Brian Smith
00039303c4 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
56c869db70 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
bca96e79cf 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
7950b8fffe Bug 735829 - Very minor fix: add quotes around PDB name string 2012-03-26 22:02:46 -04:00
Ehsan Akhgari
dd92570f6d 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
af7c6dc954 Bug 733861 - Use std::ostreams for profile stringification. r=BenWa 2012-03-23 20:09:27 +01:00
Ehsan Akhgari
6e0887f66d Backout changeset 11b6f37603ce (bug 734302) for Android bustage 2012-03-23 15:01:14 -04:00
Ehsan Akhgari
ebaec414f6 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
fa6bb5c19e Merge last green PGO from inbound to central 2012-03-23 12:49:57 +01:00
Marco Bonardo
1ffefb8021 Merge central to inbound 2012-03-23 02:02:03 +01:00
Ehsan Akhgari
08fb41abdd Bug 734302 - Part 4: Fix the profiling builds on Mac and Windows; r=BenWa 2012-03-22 12:36:45 -04:00
Ryan VanderMeulen
20596c6e7f Backout f42ea2a158e4(bug 733861) due to build bustage on all platforms. 2012-03-22 19:10:16 -04:00
Markus Stange
cfaecefbdd Bug 733861 - Use std::ostreams for profile stringification. r=BenWa 2012-03-22 23:40:33 +01:00
Markus Stange
5a9842b561 Bug 731272 - Add the current instruction to the top of the stack. r=jrmuizel 2012-03-22 23:31:56 +01:00
Markus Stange
f6f0ce905e Bug 731272 - Don't skip the topmost stack frame. r=jrmuizel 2012-03-22 23:30:37 +01:00
Ehsan Akhgari
978a1c0473 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
bd5e243603 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
e9aa7bcb5e Bug 712552. (Av1) Remove MSVC6 support from trace-malloc. r=dbaron.
DONTBUILD (comment-only).
2012-03-23 02:58:24 +01:00
Ehsan Akhgari
852c3f5e6e 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
2acbdc711f 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
b7041e1d36 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
ac1638afa6 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
e8510855b8 Bug 735829. Report PDB filename in chrome hang reports. r=ehsan 2012-03-19 19:05:25 -04:00
Jacek Caban
bfee89c51b 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
f13b1e0497 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
69584e6287 Bug 734335 - Only build SPS on supported platforms. r=bgirard,r=khuey 2012-03-13 09:48:00 +01:00
Benoit Girard
6662503264 Bug 734691 - Change profiler output format to support threads. r=mstange 2012-03-12 10:58:40 -04:00
Benoit Girard
cc681a1725 Bug 734691 - Move Stack to ThreadProfile since it's thread specific. r=mstange 2012-03-12 10:58:37 -04:00
Benoit Girard
8074987f8c Bug 734691 - Rename Stack/Profile to imply their thread specific. r=mstange 2012-03-12 10:58:33 -04:00
Benoit Girard
1dbe6dfeef Bug 732806 - Fix profiling stack end detection. r=jmuizelaar 2012-03-12 10:57:36 -04:00
Benoit Girard
ba422d6daa Bug 734707 - Fix Jank profiling feature side effects. r=jmuizelaar 2012-03-12 10:56:33 -04:00
Vladan Djeric
745727778e Bug 712109 - Implement chrome hang reporting on profiling branch. r=ehsan 2012-03-12 07:07:05 -04:00
Benoit Girard
d92c873210 Backout changeset a76566398d36 2012-03-11 12:03:45 -04:00
Benoit Girard
232292886c Backed out changeset 5f5fc6a1133e 2012-03-11 12:03:05 -04:00
Benoit Girard
1303b287d9 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
2f94430d85 Bug 734691 - Part 1: Rename Stack/Profile to imply their thread specific. r=mstange 2012-03-10 23:08:11 -05:00
Jeff Muizelaar
30ceaba0e5 Bug 726369 - Profiler: Make the circular buffer reader code safer. r=BenWa 2012-02-11 18:56:18 -05:00
Jeff Muizelaar
da3ad92423 Bug 723711. Return the profile data as JS objects. r=bgirard 2012-02-02 16:57:20 -05:00
Jeff Muizelaar
26be1e2326 Backout c433e993506b 2012-03-09 11:21:43 -05:00
Jeff Muizelaar
24b0fc9e1a Bug 723711. Return the profile data as JS objects. r=bgirard 2012-02-02 16:57:20 -05:00
Jeff Muizelaar
67d9b4c911 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
9aabb5464a Bug 733792 - Leave original symbol addresses in the profile report. r=bgirard 2012-03-09 16:20:03 +01:00
Markus Stange
2d39ac4870 Bug 733792 - Add nsIProfiler::getSharedLibraryInformation. r=bgirard 2012-03-09 16:20:00 +01:00
Justin Lebar
b682bbe4a5 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
44bf1f7416 Bug 708733 - Profiler: Only use leaf data on android ARM. r=ehsan 2012-02-11 10:49:16 -05:00
Benoit Girard
5e1dd84f1f Bug 730302 - Fix GetMarker code in Table::Tick. r=mstange 2012-02-24 11:51:13 -05:00
Jeff Muizelaar
ca7b485d9c 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
af561ad0ae 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
1f74b65834 Bug 721780 - Rename XRE_Main to something more useful; r=BenWa 2012-01-31 10:10:05 -05:00
Ehsan Akhgari
838b8d9023 Bug 721564 - Get module information for the profiler on Windows; r=BenWa 2012-01-26 19:03:42 -05:00
Jeff Muizelaar
dbe0e87287 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
cc4b34030c 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
e8612f5cb7 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
591d03087b Merge last green changeset from inbound to mozilla-central 2012-01-19 10:37:48 -08:00
Tim Taubert
8165319fae merge m-c to fx-team 2012-01-19 12:10:03 +01:00
Robert Strong
d93d22f00e RelEng patch - Bug 660038 - Remove channel switching support. r=nthomas 2012-01-18 14:10:25 -08:00
Randell Jesup
229d4744e2 Bug 712224: Make jprof generate output for 'cleopatra' backend. rs=dbaron DONTBUILD 2012-01-18 00:11:00 -05:00
Jeff Muizelaar
9c9e2eed37 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