Commit Graph

881 Commits

Author SHA1 Message Date
Nicholas Nethercote
0a9b12ec8d 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
d23220892d Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Jim Chen
f013d1f3d5 Bug 761287 - Follow-up to fix TableTicker.cpp bustage; r=ehsan 2012-11-13 15:54:14 -05:00
Jim Chen
6a5ee1361a 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
96949afbbf Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Kyle Huey
1482122303 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
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb 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
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a 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
1d28872093 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Ehsan Akhgari
f117c7a7b0 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
48b5c1a608 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
b91e942f5e Bug 804724 - Add an abort painting marker. r=ehsan
--HG--
extra : rebase_source : 10f327e91b15d673303eb607a361c1c4d14a1e92
2012-10-23 17:18:37 -04:00
Brian Smith
125999d7c4 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
cbb17fe7b2 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
9686e5ca92 Bug 802333 - Reduce the default profile size for ARMv6 devices. r=blassey 2012-10-18 11:12:53 -04:00
Benoit Girard
8a55028ddb Bug 799638 - Export profiler markers when saving profiler profiles. r=ehsan 2012-10-15 10:33:20 -04:00
Benoit Girard
361c22db3b 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
b22a1b26a8 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
a72777272c Backed out a57ade621efb, 2a8fef2bd228, 632ce3e7d3ef (bug 799638) for bustage. 2012-10-13 21:22:30 -04:00
Benoit Girard
ef91b368a2 Bug 799638 - Export profiler markers when saving profiler profiles. r=ehsan 2012-10-13 21:03:22 -04:00
Benoit Girard
cb5b355f20 Bug 799638 - Use stackwalk on startup profiling for win/mac. r=ehsan 2012-10-13 21:03:09 -04:00
Andrew Quartey
0e23b26077 Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
40a4eebd6c Bug 792581 - part 17: Replace LL_L2F macro with a double cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
464807b57d Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
790ec84feb Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
Mike Hommey
cbb20704b2 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
23ce66bd83 Bug 798429 - Add new talos test names. r=jhammel. 2012-10-05 13:06:34 -04:00
Andrew Quartey
e0477b23d8 Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
efd58ac27b Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
9f926a0d71 Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Andrew Quartey
b92e443462 Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Andrew Quartey
f882a157a4 Bug 792581 - part 6: Replace LL_UCMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey
6745ad3f2c Bug 792581 - part 3: Replace LL_NE macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Benoit Girard
844734bb36 Bug 794206 - Initialize mRuntime. r=ehsan 2012-10-01 12:51:03 -04:00
Isaac Aggrey
65e8d33673 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
ff540847c2 Bug 791404: Sample at 10ms on gonk for more realistic results. r=BenWa 2012-09-24 15:38:07 -07:00
Chris Jones
c4557f3b15 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
41010e55e9 Bug 791398: Lower the default sample size to prevent OOMs. r=BenWa 2012-09-24 15:38:07 -07:00
Mike Hommey
4af0818cb7 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
008d43f150 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
d5c93adaee Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Mike Hommey
375c3106fe 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
ffb355025c 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
5f47df4cd6 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
606b6acca1 Bug 788888 - Increase the default profile size to 1 million entries. r=ehsan 2012-09-06 01:21:03 -04:00
Benoit Girard
e453aa1d7e Bug 788400 - Part 2: Add a frame number to profiles. r=ehsan 2012-09-05 11:45:17 -04:00
Mike Hommey
daa13a837f Bug 749518 - Don't use dl_iterate_phdr on gonk. r=BenWa 2012-09-04 10:59:01 +02:00
Benoit Girard
efc79320b7 Bug 749518 - Forward declare dl_iterate_phdr with extern C. r=glandium 2012-09-04 10:24:16 -04:00
Benoit Girard
4326516b13 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
33180735cb Backout a8b73286ba78 (bug 749518) for breaking B2G gb_armv7a_gecko builds 2012-09-03 12:10:10 +01:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Benoit Girard
085b3f44ec 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
94264a0bc8 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
0fd9123eac 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
b9989b51cc 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
7995a3b3e5 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
d70cb3bcc2 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
6d043cb564 Bug 780272 - Audit calls to MozillaUnRegisterDebugFD. r=jlebar.
--HG--
extra : rebase_source : 53672602bfd370626916bcd0f5bc71859f8520c2
2012-08-10 12:40:21 -04:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Mike Hommey
32a6095cde Bug 777379 - Ensure that default is always the default target. r=ted 2012-08-08 09:33:16 +02:00
Mike Hommey
6173fa297f 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
e52b2eb6a8 Bug 778167 - Fix the offset of OS X libraries. r=bgirard. 2012-07-30 11:06:37 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jeff Muizelaar
43cf1c8077 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
14ca459021 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
fa746f21c3 Remove the unused variable (no bug) 2012-07-19 00:45:35 -04:00
Ehsan Akhgari
2ed59c37de 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
6e1f9c130b Bug 772078 - Remove JS entries even when stopping the SPS profiler. r=luke 2012-07-11 16:23:52 -07:00
Benoit Girard
a5d2de3e53 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
2a83948256 Fixup for bug 771103. r=bgirard 2012-07-11 17:28:04 +02:00
Mike Hommey
6d8e336f1f 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
3d88509be6 Bug 772630 - Deay JS profiling until we have a JSRuntime. r=ehsan,acrichton 2012-07-10 22:05:38 -04:00
Benoit Girard
a60ef49d3d Bug 766579 - Part 2: Intertwine during sampling. r=jmuizelaar
--HG--
extra : rebase_source : e2ddcc188fcd6a2b3b6c35d3517fb7ec8ae7deab
2012-06-27 19:04:58 -04:00
Benoit Girard
7aa6b28d00 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
bdb204e679 Bug 771056 - Use NS_OS_TEMP_DIR to save SPS profile data. r=bgirard 2012-07-10 09:26:57 +02:00
Mike Hommey
2603962163 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
cd618d4e33 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
5aeb2eb888 Bug 771608 - Fix a crash when saving a text profile; r=ehsan 2012-07-06 16:40:10 -04:00
Ehsan Akhgari
773643f576 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
5a0baf7633 Bug 769989 - Store time information in each sample. r=jmuizelaar 2012-07-05 15:49:19 -04:00
Benoit Girard
c2e58a28aa Bug 769963 - Record responsiveness in jank mode. r=jmuizelaar 2012-07-05 15:47:20 -04:00
Vladimir Vukicevic
f9a50fa00d 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
c60b1db79c 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
eca0f07dca 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
cc090bb0b2 Bug 767844 - Store meta data in profile. r=jrmuizel
--HG--
extra : rebase_source : 06aeaf36666fa293f688aa9b0d6d8e9772874eb4
2012-06-26 23:43:28 -04:00
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