Commit Graph

55 Commits

Author SHA1 Message Date
Benoit Girard
f6c6ac7ed5 Bug 1021072 - Remove GetResponsivenessTimes. r=ehsan 2014-06-13 22:32:13 -04:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Viktor Stanchev
499af697b5 Bug 867728 - Stream profiler JSON directly to a file. r=bgirard,terrence
--HG--
extra : rebase_source : 3472eb981d0c8778be318b3d51b51edfe8c1c96a
2014-04-21 16:48:47 -04:00
Viktor Stanchev
b7f1053b5a Bug 969456 - Add pause/resume API to profiler. r=bgirard
--HG--
extra : rebase_source : 3c72e4b6b87f629fd1a289ddb4bbc94b582a0b4b
2014-02-28 15:16:38 -05:00
Ryan VanderMeulen
6c3dd53784 Backed out changeset f4c91d9262f1 (bug 965373) for test_profiler_activation.js timeouts on Windows debug. 2014-02-06 14:34:05 -05:00
Viktor Stanchev
3bc3c52481 Bug 965373 - When the profiler stops it doesn't stop the EventTracer thread; r=bgirard
---
 toolkit/xre/EventTracer.cpp   | 48 +++++++++++++++++++++++++++++++------------
 tools/profiler/nsProfiler.cpp |  3 +++
 2 files changed, 38 insertions(+), 13 deletions(-)

--HG--
extra : rebase_source : 249b164d232320bbec25de2b13d23ed87ffff842
2014-02-06 11:59:25 -05:00
Tom Schuster
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
ba1e9bce90 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Benoit Girard
aa310d51bc Bug 820048 - Add microsecond profiling. r=ehsan
--HG--
extra : rebase_source : 40fee30c92f7e74dbe1e24778b66813beb8505da
2013-03-26 12:34:27 -04:00
Benoit Girard
9cee99729d Bug 873914 - Allow selecting profiled thread. r=snorp
--HG--
extra : rebase_source : 6623126a111b23f8871af1a2e64d077b67cb0930
2013-05-16 16:31:50 -04:00
Benoit Girard
4500c8a409 Bug 853896 - Turn off MOZ_EVENT_TRACE when profiling. r=ted
--HG--
extra : rebase_source : 2ae36f2f4be730528b0f18154377fa32ee25b49a
2013-03-22 17:16:52 +01:00
Ehsan Akhgari
7af472416c Bug 851828 - Type safety improvements for the profiler in Win64 builds. r=benwa 2013-03-26 13:32:09 -04:00
Benoit Girard
d3b386dbc6 Backed out changeset f5a256c02fc6 (bug 851828) for Mochitest failures on a CLOSED TREE. 2013-03-26 16:10:29 -04:00
Ehsan Akhgari
e0d195e2f3 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
Benoit Girard
fc10a7cfe4 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
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 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
Benoit Girard
664cf994b4 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
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Jose Cortes
8317f6da9a 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
Julian Seward
e74cad535a 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
Richard Newman
f16ea3e459 Backed out changeset cc45fdc389df (Bug 779291) for breaking Mac Android builds. 2013-03-12 00:14:52 -07:00
Julian Seward
7c8de49023 Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium 2013-03-10 23:00:23 +01:00
Rafael Ávila de Espíndola
ea6747731a 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
fec0f94a5f Bug 830018 - Intermittent browser_profiler_controller.js, test_profiler_actor.js | application crashed [@AddSharedLibraryInfoToStream]. r=vladan 2013-01-14 16:20:05 -05:00
Benoit Girard
0313fef329 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
2f6099a1ff Bug 825701 - Use v3 to report hangs. r=vladan. 2013-01-09 15:05:00 -05:00
Benoit Girard
aa1466040b Bug 773428 - Part 2: Expose AddMarker via IDL. r=ehsan
--HG--
extra : rebase_source : 208a4569f5a9e2895400ed244483d4e160b36f48
2012-09-05 09:45:28 -04: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
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03: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
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
Benoit Girard
19a2e771a7 Bug 719536 - Expose shared library offsets for proper symbolication. r=jmuizelaar 2012-04-13 16:33:53 -04:00
Vladan Djeric
7950b8fffe Bug 735829 - Very minor fix: add quotes around PDB name string 2012-03-26 22:02:46 -04:00
Vladan Djeric
e8510855b8 Bug 735829. Report PDB filename in chrome hang reports. r=ehsan 2012-03-19 19:05:25 -04:00
Vladan Djeric
745727778e Bug 712109 - Implement chrome hang reporting on profiling branch. r=ehsan 2012-03-12 07:07:05 -04: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
Markus Stange
2d39ac4870 Bug 733792 - Add nsIProfiler::getSharedLibraryInformation. r=bgirard 2012-03-09 16:20:00 +01:00
Benoit Girard
c69228b1fb Bug 717059 - Fix nsProfiler::GetFeatures() to handle zero length and remove warning. r=jmuizelaar 2012-01-14 10:59:09 -05:00
Benoit Girard
54d3f9cc3b 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