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
Jim Chen
0eaf14c15c
Bug 761287 - Follow-up to fix TableTicker.cpp bustage; r=ehsan
2012-11-13 15:54:14 -05: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
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
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
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
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
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
Benoit Girard
68799153ea
Bug 788400 - Part 2: Add a frame number to profiles. r=ehsan
2012-09-05 11:45:17 -04:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -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
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
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03: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
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
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
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
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
Ehsan Akhgari
6227c72e6a
Bug 758890 - Destroy the TableTicker object when the profiler is stopped; r=BenWa
2012-05-31 19:38:49 -04: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
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 Girard
4e336e29cc
Bug 751779 - Enable leaf address profiling with the gecko profiler on mac. r=jmuizelaar
2012-05-03 21:23:27 -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
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
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
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
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
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
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
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
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
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
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
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