Граф коммитов

528 Коммитов

Автор SHA1 Сообщение Дата
Chris Peterson 91d5779d1b Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8 2014-02-17 22:10:50 -08:00
Andrew McCreight 344c61d00e Back out bug 712939 for not getting fully reviewed. 2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen 00487ce6f9 Bug 971094 - Part 0: Add some null checks to the profiler's usage of Observation::Filename(). r=BenWa 2014-02-20 08:43:55 -05:00
Chris Peterson 56af4fda84 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Daniel Holbert c516662c22 back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson dcfc7e9c20 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Aaron Klotz 065c3ca8a2 Bug 973899: Fix usage of temporary string that was causing crashes; r=ehsan 2014-02-18 10:13:51 -07:00
Benoit Girard 11680762e6 backout e9c0d692b2cf (bug 970494) for warning failures. r=backout
CLOSED TREE
2014-02-13 16:13:32 -05:00
Viktor Stanchev cc4777dcd4 Bug 970494 - Markers should be time based and not sample based. r=bgirard
--HG--
extra : rebase_source : c1e3e77fa8f7ad2c5eec7f092d96bf3719db3a8c
2014-02-13 13:43:48 -05:00
Viktor Stanchev 18aeb9dd4e Bug 962325 - Add filename to profiler I/O markers. r=bgirard
--HG--
extra : rebase_source : 6ec4d08834f57946681b65064c1e5764572d28e7
2014-02-13 13:32:38 -05:00
Jon Coppeard d0e56d0b88 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Nathan Froyd 0144542cd7 Bug 968932 - remove unused <*stream> headers from platform-linux.cc; r=BenWa 2014-02-06 12:49:32 -05:00
Ryan VanderMeulen 3ac56bf193 Backed out changeset f4c91d9262f1 (bug 965373) for test_profiler_activation.js timeouts on Windows debug. 2014-02-06 14:34:05 -05:00
Ryan VanderMeulen 6b700fff83 Backed out changeset 7abb50d91618 (bug 962325) for bustage.
CLOSED TREE
2014-02-06 12:29:13 -05:00
Viktor Stanchev dc0ed322d5 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
Viktor Stanchev b3bae35e9e Bug 962325 - Add filename to profiler I/O markers. r=bgirard
--HG--
extra : rebase_source : e823b394eb547bcdf5f6f4970959add8d5a81710
2014-02-06 11:44:46 -05:00
Jim Chen 1a7252a124 Bug 959931 - Use open/mmap for libmozglue unwinding; r=jseward 2014-02-05 12:37:54 -06:00
Aaron Klotz ff910d3f87 Bug 902587 - Part 2B: filename method for PoisonIOInterposer; r=BenWa,ehsan 2014-01-31 20:14:03 -07:00
Viktor Stanchev 9e0e77e8e6 Bug 962731 - Properly save root profiler tags in profiles. r=ehsan 2014-01-30 13:13:23 -05:00
Jon Coppeard bfba7b5146 Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz 2014-01-25 09:31:17 +00:00
Cervantes Yu 9556ddc7f7 Bug 961959: fix profiler breakage for the Nuwa process. r=khuey,benwa 2014-01-22 18:56:45 +08:00
Aaron Klotz 1e69fb718a Bug 888534: Add missing operations to IOInterposer::Unregister; r=jonasfj 2014-01-20 16:02:51 -07:00
Ryan VanderMeulen fdae3860b4 Merge b2g-inbound to m-c. 2014-01-19 15:40:48 -05:00
Jed Davis ec74e50e16 Bug 960350 - Display untranslated symbols correctly after merging profiles. r=BenWa
Also, set off the pid from the address with a colon instead of
hard-coding a field width, in case we ever get >16-bit pids.
2014-01-17 14:32:22 -05:00
Terrence Cole 6beccf2363 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Tom Schuster f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Terrence Cole d902eeddc8 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Benoit Girard 76ca557e2c Bug 952074 - Add configure option --enable-systrace to b2g. r=vlin,glandium 2014-01-08 11:12:02 -05:00
Ehsan Akhgari 1b83407ce9 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
Ehsan Akhgari e276af8c8e Bug 948327 - Do not leak the payload object passed to mozilla_sampler_add_marker() if we don't end up using it; r=BenWa 2013-12-10 16:34:19 -05:00
Birunthan Mohanathas 3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas 68b00083fd Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Ehsan Akhgari 4cefcc3107 Bug 944844 - Disambiguate the printf functions in GeckoProfilerImpl.h so that they don't conflict with the ones defined in chromium's namespace base; r=BenWa 2013-12-02 12:29:49 -05:00
Ehsan Akhgari 2bc931e658 Bug 944387 - Remove the dead OS X Mutex implementation from the profiler; r=BenWa 2013-11-28 14:35:45 -05:00
Ehsan Akhgari 5f6d211aec Follow-up to bug 941693 - Fix mac builds 2013-11-28 09:09:57 -05:00
Benoit Girard 9f0592ad5e Bug 941693 - Build tools/profiler in unified mode; r=ehsan 2013-11-21 12:08:01 -05:00
Jim Chen 0b958846fc Bug 935092 - Const-ify profiler pseudostack entries; r=BenWa 2013-11-22 14:17:30 -05:00
Chris Kitching 36c7d139c0 Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-11-12 10:41:01 -08:00
Jed Davis 3fe1d51986 Bug 940167 - More specificity for which mappings might be libraries on B2G. r=BenWa
Note that we don't want this extra check on regular Android, because
there's Dalvik jitcode in ashmem, and any mappings that aren't that
special ashmem file will already be excluded (because everything else is
handled through dl_iterate_phdr).
2013-11-19 09:00:24 -05:00
Mike Hommey 2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey 26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Jed Davis d687166d14 Bug 914190 - Use std::getline instead of C getline to parse /proc/N/maps. r=BenWa
Android's C getline (present in JB and up) calls libc's malloc directly,
but its caller in Gecko is linked to jemalloc's free via mozglue; this
caused a crash on profiler startup.
2013-11-12 08:47:23 -05:00
Birunthan Mohanathas 1e45690b3d Bug 784739 - Switch from NULL to nullptr in tools/profiler/; r=ehsan 2013-11-11 14:16:31 -05:00
Joe Olivas d8f8c06771 Bug 769431 - Correlate power data from Intel Power Gadget in performance profiles. r=BenWa 2013-10-08 10:05:25 -04:00
Kai-Zhen Li ae437a9d28 Bug 934924 - Check EI_ABIVERSION for jb4.2.2 build. r=jld 2013-11-06 10:08:42 +08:00
Jim Mathies ca8c3dbab2 Bug 927979 - Follow up to fix bad string null check in profiler. r=benwa 2013-11-04 12:27:40 -06:00
Nicholas Nethercote 3b80765894 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
Ed Morley ae834488ea Merge mozilla-central and b2g-inbound 2013-10-25 12:12:23 +01:00
Mike Hommey b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mason Chang 35255b2c2b Bug 925111 - Enable Profiler to support config options during runtime. r=benwa, jld 2013-10-24 17:09:33 -07:00
Mike Hommey 59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey 3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Aaron Klotz 4ff2db0e59 Bug 929763: Don't call TickSample::PopulateContext unless native stack walking is enabled; r=BenWa 2013-10-22 21:56:50 -07:00
Jim Mathies 357604de6e Bug 927979 - Register the gecko thread correctly in the profiler for FxMetro. r=bgirard 2013-10-22 08:30:06 -05:00
Ms2ger 006ccb9a4d Bug 923395 - Part c: Remove some makefiles that set EXPORT_LIBRARY; r=gps 2013-10-20 09:25:19 +02:00
Jed Davis dfdb1704c2 Bug 916106 - Avoid unwind loop when erroneously in leaf. r=BenWa 2013-10-16 14:42:49 -04:00
Aaron Klotz 84c1274b4a Bug 899782: Enable NS_StackWalk for obtaining sync stacks in profiler. r=BenWa 2013-10-15 13:06:20 -06:00
Aaron Klotz 8912cab0f9 Bug 921330: Fix sync unwind on Mac OS X. r=BenWa 2013-10-15 12:58:52 -06:00
Jed Davis ef7ff21509 Bug 919078 - Add js to async profiler start options. r=BenWa 2013-10-12 13:56:21 -04:00
Benoit Girard 3696e2adc6 Bug 918825 - Add frame duration marker. r=ehsan
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Jacek Caban c98f280e34 Bug 921435 - Use the right TimeStamp in GeckoProfilerFunc.h. r=aklotz 2013-10-03 10:53:07 +02:00
Phil Ringnalda a92d1ffb9b Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes 2013-10-01 22:46:48 -07:00
Benoit Girard 43d7d6f444 Bug 918825 - Add frame duration marker. r=ehsan 2013-09-27 12:08:45 -04:00
Aaron Klotz 44e3459f45 Bug 888534: Add support for Create, Stat and Close operations to IOInterposer. r=jonasfj
--HG--
extra : rebase_source : 6b7e75ae35e3250383f3990dce2680df44f4ec68
2013-10-01 13:53:19 -06:00
Benoit Girard 84c9211fca Bug 920909 - Fix lossy startTime fields serialization. r=ehsan 2013-09-27 11:51:25 -04:00
Ryan VanderMeulen 4875847fa7 Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching 939077cb0b Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Kartikaya Gupta 6b7e07f87d Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching 602a2edbcb Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats 2013-09-27 10:10:37 -04:00
Benoit Girard 54c9f49b7a Bug 918833 - Improved profiler thread register. r=ehsan 2013-09-24 15:23:36 -04:00
Aaron Klotz cfa94dca53 Bug 867757, Part 2: Gives SPS the ability to immediately sample the current thread's stack and annotate it. r=BenWa 2013-09-25 09:28:34 -06:00
Benoit Girard fb4bfeb5f7 No bug. Improve the name of the main thread for profiling. DONTBUILD
--HG--
extra : rebase_source : 448d0145200659a67a77acbef36e74ff2c17c934
2013-09-24 15:20:18 -04:00
Ehsan Akhgari c8d51e9ce2 Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Ehsan Akhgari 7233ba7103 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Benoit Girard 906e0daa78 Bug 918581 - Extend merge-profile.py to support secondary threads. r=vlad
--HG--
extra : rebase_source : 28357bbb17b15c7cb40c53ee3442bc6366fcf015
2013-09-19 23:24:07 -04:00
Benoit Girard 7afa961994 Bug 867757 - Part 1: Allow markers to carry payload. r=aklotz
--HG--
extra : rebase_source : 31904aa5f084283bfc23ecfc53762d275967e34b
2013-07-11 00:27:04 -04:00
Terrence Cole 7217929024 Bug 916993 - Handlify the public JSString APIs; r=bz,jonco
--HG--
extra : rebase_source : 35c5d7832d794ce37be622db3140309d2605c212
2013-09-16 18:33:40 -07:00
Jonas Finnemann Jensen 63757ffdc4 Bug 902587 - Fix missing destructor in IOInterposer.cpp ifndef MOZ_ENABLE_PROFILER_SPS. r=aklotz 2013-09-14 22:08:11 -04:00
Ryan VanderMeulen 47d90bb47f Merge m-c to inbound. 2013-09-12 22:30:22 -04:00
Ryan VanderMeulen fd143fc064 Merge m-c to b2g-inbound. 2013-09-12 20:41:54 -04:00
Benoit Girard 836a55c9fa Bug 914815 - Support profiler options when starting the profiler with a signal. r=jld 2013-09-11 14:01:16 -04:00
Benoit Girard f8a6d08355 Bug 915857 - Check-in merge-profiles.py. r=vladan 2013-09-12 16:31:40 -04:00
Benoit Girard 1dbbbf22af Bug 914348 - Name the SamplerThread on linux. r=jld 2013-09-11 13:57:43 -04:00
Terrence Cole 705a73caba Bug 877658 - Exactly root tools/profiler/; r=BenWa
--HG--
extra : rebase_source : a7c5bbcb64d7b670e170e3c20dda53d03a4f2cc1
2013-09-05 16:10:37 -07:00
Ryan VanderMeulen a352effd6a Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Jed Davis 42fe9dcb23 Bug 810526 - Add an implementation of ARM EHABI stack unwinding for the profiler. r=BenWa r=huseby 2013-09-11 14:53:14 -04:00
Jed Davis 76e9c91c87 Bug 810526 - android-signal-defs.h must include signal.h for stack_t. r=bgirard 2013-09-11 14:52:34 -04:00
Jed Davis 7144d49eae Bug 810526 - Add multiple-include guard to android-signal-defs.h. r=bgirard 2013-09-11 14:51:59 -04:00
Jed Davis 12b0e21530 Bug 810526 - Factor out native/pseudo stack merging. r=bgirard 2013-09-11 14:51:11 -04:00
Jed Davis cbdea10161 Bug 810526 - Add stack top to Thread{Info,Profile}. r=bgirard 2013-09-11 14:50:46 -04:00
Dan Gohman a50084b38d Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Ryan VanderMeulen 1213755134 Backed out changeset 508a916a482a (bug 914348) for suspicion of causing Linux mochitest-bc perma-orange. 2013-09-10 15:32:31 -04:00
Benoit Girard 58be34a343 Bug 914348 - Name SamplerThread on linux. r=jld
--HG--
extra : rebase_source : 343dec3b5d4b8eaa4a294c54ae1f74b9e0775401
2013-09-10 11:20:09 -04:00
Jonas Finnemann Jensen dac3c3a20c Bug 902587 - Part 1: Refactor IO Interposer with filename support. r=aklotz 2013-09-12 10:47:37 -04:00
Ms2ger 4e96ae49a4 Bug 870407 - Move final batch of CMMSRCS to moz.build and disallow it in makefiles; r=khuey 2013-09-06 08:40:41 +02:00
Robert O'Callahan 03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Nicholas Nethercote 01c70c8c97 Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00