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
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
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
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
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
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
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
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
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
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