Commit Graph

56 Commits

Author SHA1 Message Date
Benoit Girard
729685e2ec Bug 1021990 - Migrate to xpcom based EventTracer. r=ehsan 2014-06-06 17:53:42 -04:00
Benoit Girard
53c5b40d51 Bug 1021072 - Remove GetResponsivenessTimes. r=ehsan 2014-06-13 22:32:13 -04:00
Birunthan Mohanathas
504b581650 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
6cfb5c4aef 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
bbef6f2faa 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
b6e3d2440f 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
05a67520f6 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
5e3191afd2 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Ehsan Akhgari
eaa7491d77 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
b38b84f869 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
ccf5b21c9c Bug 820048 - Add microsecond profiling. r=ehsan
--HG--
extra : rebase_source : 40fee30c92f7e74dbe1e24778b66813beb8505da
2013-03-26 12:34:27 -04:00
Benoit Girard
9e23e52a50 Bug 873914 - Allow selecting profiled thread. r=snorp
--HG--
extra : rebase_source : 6623126a111b23f8871af1a2e64d077b67cb0930
2013-05-16 16:31:50 -04:00
Benoit Girard
1116a2a1b3 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
f9a7b4ef76 Bug 851828 - Type safety improvements for the profiler in Win64 builds. r=benwa 2013-03-26 13:32:09 -04:00
Benoit Girard
e38aae03dc Backed out changeset f5a256c02fc6 (bug 851828) for Mochitest failures on a CLOSED TREE. 2013-03-26 16:10:29 -04:00
Ehsan Akhgari
5c116b98ca 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
6ed333dbb5 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
bbe4c3065e Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 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
90f13c7e56 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
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Jose Cortes
219e54a946 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
e8bbb67556 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
9297113e26 Backed out changeset cc45fdc389df (Bug 779291) for breaking Mac Android builds. 2013-03-12 00:14:52 -07:00
Julian Seward
19b79317be 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
e8a18c771f 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
fcd1294cf0 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
4ee5a9418d 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
30c2da2ff1 Bug 825701 - Use v3 to report hangs. r=vladan. 2013-01-09 15:05:00 -05:00
Benoit Girard
45a903eef1 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
8c296bbcd4 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
7ab935bae1 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
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Benoit Girard
cfbac50242 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-26 17:57:43 -04:00
Benoit Girard
0555a1c0e5 Backout 493781e75ced (Bug 765357) 2012-06-25 19:23:25 -04:00
Benoit Girard
6577506058 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-25 16:49:41 -04:00
Benoit Girard
5173e4e0a5 Backout 746513dca667 (Bug 765357) due to xpcshell orange (linux, mac). 2012-06-24 21:00:21 -04:00
Benoit Girard
4abd06b934 Bug 765357 - Add xpcshell tests for the Profiler. r=ehsan 2012-06-24 18:53:36 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benoit Girard
5df1872126 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
18ebb8783e Bug 719536 - Expose shared library offsets for proper symbolication. r=jmuizelaar 2012-04-13 16:33:53 -04:00
Vladan Djeric
8b67925e13 Bug 735829 - Very minor fix: add quotes around PDB name string 2012-03-26 22:02:46 -04:00
Vladan Djeric
9343cd86e7 Bug 735829. Report PDB filename in chrome hang reports. r=ehsan 2012-03-19 19:05:25 -04:00
Vladan Djeric
31d77b0c5e Bug 712109 - Implement chrome hang reporting on profiling branch. r=ehsan 2012-03-12 07:07:05 -04:00
Jeff Muizelaar
71f2b82d61 Bug 723711. Return the profile data as JS objects. r=bgirard 2012-02-02 16:57:20 -05:00
Jeff Muizelaar
790c1d148c Backout c433e993506b 2012-03-09 11:21:43 -05:00
Jeff Muizelaar
52ab95122e Bug 723711. Return the profile data as JS objects. r=bgirard 2012-02-02 16:57:20 -05:00
Markus Stange
be4a8eaafd Bug 733792 - Add nsIProfiler::getSharedLibraryInformation. r=bgirard 2012-03-09 16:20:00 +01:00
Benoit Girard
fe67fd21f8 Bug 717059 - Fix nsProfiler::GetFeatures() to handle zero length and remove warning. r=jmuizelaar 2012-01-14 10:59:09 -05:00