Commit Graph

592 Commits

Author SHA1 Message Date
Victor Porof
07cede5f0b Bug 1004726 - Clean up profiler pseudo-stack representation (relanded), r=djvj,jchen 2014-05-28 18:44:41 -04:00
Mike de Boer
ddfe3d4793 Bug 1014482: make existing tests compatible with global Assert.jsm methods. r=gps 2014-05-30 16:26:48 +02:00
Victor Porof
9e41feb374 Backed out changeset c2429d6c41fb (Bug 1004726) for regressions on B2G, r=me 2014-05-26 21:51:50 -04:00
Benoit Girard
dfc8cc59ba Bug 1014382 - Add nm-symbolicate.py helper script. r=jrmuizel DONTBUILD as NPOTB 2014-05-22 05:00:28 +00:00
Birunthan Mohanathas
0e6f3a6562 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Victor Porof
07986ca4cd Bug 1004726 - Clean up profiler pseudo-stack representation. r=djvj,mrosenberg 2014-05-20 15:25:25 -04:00
Nicolas B. Pierron
7397882124 Bug 988332 - Report RSS in Gecko's profiles. r=BenWa 2014-05-19 11:31:31 -07:00
Ryan VanderMeulen
4f6ccf8cd8 Merge m-c to b2g-inbound. 2014-05-13 16:27:50 -04:00
Steve Singer
abc85b65e4 Bug 1009291 - Forward declare ProfilerBacktrace before it is used. r=BenWa 2014-05-12 17:11:00 -04:00
Julian Seward
e012f2a4d8 Bug 999348 - [flatfish] Build faild in gecko/tools/profiler/LulElf.cpp. r=glandium. 2014-05-13 21:26:33 +02:00
Aaron Klotz
249ed48c5d Bug 977446 - Fix erroneous assertion triggered during SyncProfile destruction; r=sewardj 2014-04-22 12:42:15 +02:00
Benoit Girard
7e6ec54552 Bug 1004899 - Add stderr to profile output. r=ehsan
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Benoit Girard
7bc6762bed Bug 926922 - Log reason for layout flushes in profiles. r=ehsan,bz
--HG--
extra : rebase_source : 5383b80a1d0d1ddb36351dea1ad44f27b93001a2
2014-04-22 14:13:00 -04:00
Robert O'Callahan
7043c985ba Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00
Benoit Girard
cf49cd697a Bug 1005204 - Enable JSStreamWriterTest. no reviews, just enabling a test. 2014-05-02 13:34:29 -04:00
Viktor Stanchev
72b8f5c8ae Bug 986160 - Create unit tests for the Gecko Profiler. r=benwa 2014-04-07 15:29:07 -04:00
Benoit Girard
7d7a2f9d30 Bug 1004716 - Adjust marker timestamps when merging profiles. r=ehsan DONTBUILD because NPOTB
--HG--
extra : rebase_source : 446f59d60e1508a9d05b7e55f2793ba6556e09ad
2014-05-01 17:53:23 -04:00
Benoit Girard
1064619116 Bug 1004677 - Restore double precision startTime. r=bjacob
--HG--
extra : rebase_source : 1579e50c3fcf44053ed83dc2411941120229729d
2014-05-01 16:27:36 -04:00
Jim Chen
e8ad92a6ac Bug 999071 - Don't notify observers in profiler when used by Android ANR reporter; r=BenWa 2014-04-28 22:20:51 -04:00
Birunthan Mohanathas
5f1fde8824 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
Wes Kocher
45d885681c Backed out changeset 60b6bdaafba7 (bug 999071) for android 2.3 rc1 orange 2014-04-25 14:50:31 -07:00
Jim Chen
f3a501bb51 Bug 999071 - Don't notify observers in profiler when used by Android ANR reporter; r=BenWa 2014-04-25 12:38:18 -04:00
Wes Kocher
d477a31fd8 Backed out 3 changesets (bug 999071) for Android rc1 failures
Backed out changeset ddf970be0abd (bug 999071)
Backed out changeset 8d2738b22275 (bug 999071)
Backed out changeset b82a8c50aa90 (bug 999071)
2014-04-24 18:12:46 -07:00
Jim Chen
c9f29c93c9 Bug 999071 - Don't notify observers in profiler when used by Android ANR reporter; r=BenWa 2014-04-24 17:49:01 -04:00
Shelly Lin
6437f8163e Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey. 2014-03-27 16:49:06 +08:00
Shelly Lin
31efa9372b Bug 908995 - Part 1: The core implementation of TaskTracer. r=khuey. 2014-03-27 16:44:30 +08:00
Viktor Stanchev
11dae83d41 Bug 867728 - Add tests for JSStreamWriter. r=bgirard
--HG--
extra : rebase_source : ee679794165b171ec89dfc2785647ffa7cb7f009
2014-04-21 16:52:40 -04:00
Viktor Stanchev
549fb2406d 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
0f296aff8a Bug 996285 - Profiler stops duplicating samples during sleeping periods after buffer wraps. r=benwa 2014-04-21 11:46:48 -04:00
Aaron Klotz
5eb20f9c87 Bug 935482: New IOInterposer observer for recording main thread I/O to file; r=froydnj 2014-04-19 14:28:02 -06:00
Julian Seward
061965db8b Bug 997700 - Fix build issues with LUL and --enable-warnings-as-errors. r=nfroyd. 2014-04-19 01:30:46 +02:00
Terrence Cole
581c606391 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Viktor Stanchev
fc25e0ce54 Bug 962262 - Profiler - Use float instead of double to pack circular buffer. r=benwa
--HG--
extra : rebase_source : 62429abbb05c199ed714ecec2f6b000296b94deb
2014-04-10 10:52:23 -04:00
Julian Seward
9bd60ea2d4 Bug 938157 - Lightweight CFI/EXIDX unwinding library for SPS. r=n.nethercote, nfroyd, bgirard.
--HG--
extra : rebase_source : bd427749667ddd6641eff414879c3706a5cb5f5e
2013-12-18 13:02:34 +01:00
Benoit Girard
5841d432fe Backed Bug 962262 (cd140d715b37) due to bustage on CLOSED TREE. 2014-04-08 13:46:45 -04:00
Viktor Stanchev
d70acec4f5 Bug 962262 - Profiler - Use float instead of double to pack circular buffer. r=benwa
--HG--
extra : rebase_source : 4faee1a306c6b9d31f7d070d33d7269f1e0c1885
2014-04-08 13:01:18 -04:00
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