Masatoshi Kimura
988da5b46e
Bug 992503 - Remove the MSVC exemption for FAIL_ON_WARNINGS in tools/profiler. r=BenWa
2014-04-08 21:22:14 +09:00
Phil Ringnalda
abdac31cf1
Merge m-i to a CLOSED TREE m-c
2014-04-06 09:51:58 -07:00
Wes Kocher
1a4b234833
Backed out changeset 1e38b4aa8889 (bug 986160) for breaking Nightly builds
2014-04-04 14:54:19 -07:00
Eric Faust
edf5e61761
Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm)
2014-04-04 16:58:08 -07:00
Viktor Stanchev
8f6b3cf1ab
Bug 986160 - Create unit tests for the Gecko Profiler. r=benwa
...
--HG--
extra : rebase_source : b73d3af33ddbf032a01067c9d92ea6a6e441cdba
2014-04-04 10:11:41 +08:00
snigdha
9cc482da68
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
Viktor Stanchev
efc233bd6d
Bug 987297 - Improve memory usage of profiler by packing ProfileEntry structs together better. r=bgirard
2014-03-31 14:19:00 +02:00
Jacek Caban
046703f3a5
Bug 820048 - Added missing math.h (mingw fixup).
2014-03-31 13:21:59 +02:00
Viktor Stanchev
ffd378ba44
Bug 963158 - Profiler shouldn't sample sleeping threads multiple times. r=bgirard,roc,bent,froydnj
...
--HG--
extra : rebase_source : 75789c4359a2cb02b2588cfbc9b6b3cbd1e79c78
2014-03-28 16:08:22 -04:00
Jed Davis
bcb7b2cc3a
Bug 914561: Use SPS EnterJIT marks to unwind past jitcode. r=BenWa
2014-03-27 19:20:20 -07:00
Jed Davis
a3824f224b
Bug 914561: Record EnterJIT trampoline frame address on SPS pseudostack. r=nbp
2014-03-27 19:20:20 -07:00
Aaron Klotz
4ebf28f26c
Bug 972577: Consolidate IOInterposer initialization code; r=froydnj,BenWa,jimm
...
--HG--
rename : tools/profiler/IOInterposer.cpp => xpcom/build/IOInterposer.cpp
rename : tools/profiler/IOInterposer.h => xpcom/build/IOInterposer.h
rename : tools/profiler/NSPRInterposer.cpp => xpcom/build/NSPRInterposer.cpp
rename : tools/profiler/NSPRInterposer.h => xpcom/build/NSPRInterposer.h
rename : toolkit/xre/nsWindowsDllInterceptor.h => xpcom/build/nsWindowsDllInterceptor.h
2014-03-14 16:35:01 -06:00
Wes Kocher
a20307b017
Backed out changeset 2bdd2d042847 (bug 972577) for non-unified bustage on a CLOSED TREE
...
--HG--
rename : xpcom/build/nsWindowsDllInterceptor.h => toolkit/xre/nsWindowsDllInterceptor.h
rename : xpcom/build/IOInterposer.cpp => tools/profiler/IOInterposer.cpp
rename : xpcom/build/IOInterposer.h => tools/profiler/IOInterposer.h
rename : xpcom/build/NSPRInterposer.cpp => tools/profiler/NSPRInterposer.cpp
rename : xpcom/build/NSPRInterposer.h => tools/profiler/NSPRInterposer.h
2014-03-14 15:27:21 -07:00
Aaron Klotz
ae4aa8bc28
Bug 972577: Consolidate IOInterposer initialization code; r=froydnj,BenWa,jimm
...
--HG--
rename : tools/profiler/IOInterposer.cpp => xpcom/build/IOInterposer.cpp
rename : tools/profiler/IOInterposer.h => xpcom/build/IOInterposer.h
rename : tools/profiler/NSPRInterposer.cpp => xpcom/build/NSPRInterposer.cpp
rename : tools/profiler/NSPRInterposer.h => xpcom/build/NSPRInterposer.h
rename : toolkit/xre/nsWindowsDllInterceptor.h => xpcom/build/nsWindowsDllInterceptor.h
2014-03-14 13:47:24 -06:00
Viktor Stanchev
378c2034e1
Bug 981132 - set up atfork on the main thread. r=bgirard
...
--HG--
extra : rebase_source : adbbf08a081dac84de6e1c2d001f32c786b38dc5
2014-03-12 16:32:40 -04:00
Viktor Stanchev
61ed9edf45
Bug 979566 - Profiler: Convert usleep to nanosleep. r=bgirard
2014-03-07 15:43:34 -05:00
Ryan VanderMeulen
0d7b59001e
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
snigdha
a441998156
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-03-05 08:47:45 -05:00
Viktor Stanchev
17777910b1
Bug 978292 - Turn on sps profiler leaf data collection on linux. r=bgirard
2014-03-04 10:35:36 -05:00
Kannan Vijayan
64dbdf9caf
Bug 976260 - Register javascript performance events with the profiler, second attempt at pushing. r=jandem
2014-03-03 14:36:08 -05:00
Ryan VanderMeulen
1662c5c020
Backed out changesets 1b4b7d198185 and 8529b074a2f3 (bug 976260) for adding new rooting hazards.
...
CLOSED TREE
2014-02-28 16:04:49 -05:00
Viktor Stanchev
e243b1a2cf
Bug 969456 - Add pause/resume API to profiler. r=bgirard
...
--HG--
extra : rebase_source : 3c72e4b6b87f629fd1a289ddb4bbc94b582a0b4b
2014-02-28 15:16:38 -05:00
Kannan Vijayan
88eff64bd1
Bug 976260 - Register javascript performance events with the profiler. r=jandem
2014-02-28 14:02:46 -05:00
Ed Morley
75251a8149
Backed out changeset 84663a25b44e (bug 976260) for compilation failures
2014-02-28 18:42:34 +00:00
Kannan Vijayan
853bcf6e79
Bug 976260 - Register javascript performance events with the profiler. r=jandem
2014-02-28 13:22:03 -05:00
Viktor Stanchev
0f7d95f413
Bug 970494 - Markers should be time based and not sample based. r=bgirard
...
--HG--
extra : rebase_source : 5401e1145c771878a1caa384d79e2dc1d0a1855c
2014-02-25 10:40:45 -05:00
Jim Chen
bfa117a21f
Bug 974986 - Always specify stack address in SamplerStackFramePrintfRAII; r=BenWa
2014-02-24 12:27:58 -05:00
Jim Chen
dca2479fd2
Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa
2014-02-24 12:27:58 -05:00
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