Robert O'Callahan
949537330f
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
ed6788888b
Bug 1005204 - Enable JSStreamWriterTest. no reviews, just enabling a test.
2014-05-02 13:34:29 -04:00
Viktor Stanchev
cf76ef96e1
Bug 986160 - Create unit tests for the Gecko Profiler. r=benwa
2014-04-07 15:29:07 -04:00
Benoit Girard
52b04a5775
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
864aefbf5d
Bug 1004677 - Restore double precision startTime. r=bjacob
...
--HG--
extra : rebase_source : 1579e50c3fcf44053ed83dc2411941120229729d
2014-05-01 16:27:36 -04:00
Jim Chen
872b83bfe6
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
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
Wes Kocher
d87dde4474
Backed out changeset 60b6bdaafba7 (bug 999071) for android 2.3 rc1 orange
2014-04-25 14:50:31 -07:00
Jim Chen
ff1361ede7
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
7eb45adaa1
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
388965d0c1
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
af4ca54a0d
Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey.
2014-03-27 16:49:06 +08:00
Shelly Lin
3c8b7f926b
Bug 908995 - Part 1: The core implementation of TaskTracer. r=khuey.
2014-03-27 16:44:30 +08:00
Viktor Stanchev
0e1f0f066b
Bug 867728 - Add tests for JSStreamWriter. r=bgirard
...
--HG--
extra : rebase_source : ee679794165b171ec89dfc2785647ffa7cb7f009
2014-04-21 16:52:40 -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
d7ab6b16b5
Bug 996285 - Profiler stops duplicating samples during sleeping periods after buffer wraps. r=benwa
2014-04-21 11:46:48 -04:00
Aaron Klotz
460566bab5
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
8d17d4b78c
Bug 997700 - Fix build issues with LUL and --enable-warnings-as-errors. r=nfroyd.
2014-04-19 01:30:46 +02:00
Terrence Cole
c97877c686
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
...
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Viktor Stanchev
b7b0beb7d8
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
46706bba7c
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
92b507b45d
Backed Bug 962262 (cd140d715b37) due to bustage on CLOSED TREE.
2014-04-08 13:46:45 -04:00
Viktor Stanchev
79984533e1
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
dcfe22cf0c
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
125cfa9c03
Merge m-i to a CLOSED TREE m-c
2014-04-06 09:51:58 -07:00
Wes Kocher
ce0545356a
Backed out changeset 1e38b4aa8889 (bug 986160) for breaking Nightly builds
2014-04-04 14:54:19 -07:00
Eric Faust
75a58dbebc
Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm)
2014-04-04 16:58:08 -07:00
Viktor Stanchev
7a17f8bbb6
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
90f0f64d5b
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
ad73ac31e1
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
3d29280992
Bug 820048 - Added missing math.h (mingw fixup).
2014-03-31 13:21:59 +02:00
Viktor Stanchev
8e97dc768e
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
9782ae6743
Bug 914561: Use SPS EnterJIT marks to unwind past jitcode. r=BenWa
2014-03-27 19:20:20 -07:00
Jed Davis
ed733b97f7
Bug 914561: Record EnterJIT trampoline frame address on SPS pseudostack. r=nbp
2014-03-27 19:20:20 -07:00
Aaron Klotz
abd9ca23db
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
8260bcd9c1
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
ec971e55c8
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
6436e528a5
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
95fb11540b
Bug 979566 - Profiler: Convert usleep to nanosleep. r=bgirard
2014-03-07 15:43:34 -05:00
Ryan VanderMeulen
760e2a311f
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
snigdha
ef5d7c4e73
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
96378b7cdf
Bug 978292 - Turn on sps profiler leaf data collection on linux. r=bgirard
2014-03-04 10:35:36 -05:00
Kannan Vijayan
3a3572830d
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
e690c318ec
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
b7f1053b5a
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
40ecf43fb4
Bug 976260 - Register javascript performance events with the profiler. r=jandem
2014-02-28 14:02:46 -05:00
Ed Morley
381d17508e
Backed out changeset 84663a25b44e (bug 976260) for compilation failures
2014-02-28 18:42:34 +00:00
Kannan Vijayan
300f083ef0
Bug 976260 - Register javascript performance events with the profiler. r=jandem
2014-02-28 13:22:03 -05:00
Viktor Stanchev
e2c7e6a0b4
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
1308d714f6
Bug 974986 - Always specify stack address in SamplerStackFramePrintfRAII; r=BenWa
2014-02-24 12:27:58 -05:00
Jim Chen
a613e47ef4
Bug 974980 - Always push a js:RunScript frame in pseudostack; r=BenWa
2014-02-24 12:27:58 -05:00
Chris Peterson
62f1c3dc89
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
57d072a733
Back out bug 712939 for not getting fully reviewed.
2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen
ae369c80d5
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
065c214bf6
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Daniel Holbert
84283bddce
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
ae4ab82a1d
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Aaron Klotz
e725986f91
Bug 973899: Fix usage of temporary string that was causing crashes; r=ehsan
2014-02-18 10:13:51 -07:00
Benoit Girard
87536c4d81
backout e9c0d692b2cf (bug 970494) for warning failures. r=backout
...
CLOSED TREE
2014-02-13 16:13:32 -05:00
Viktor Stanchev
d70132a78c
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
c294f5ec18
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
52381adba2
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Nathan Froyd
914c5e97e3
Bug 968932 - remove unused <*stream> headers from platform-linux.cc; r=BenWa
2014-02-06 12:49:32 -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
Ryan VanderMeulen
d59a03c9a8
Backed out changeset 7abb50d91618 (bug 962325) for bustage.
...
CLOSED TREE
2014-02-06 12:29:13 -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
Viktor Stanchev
1b3471e02b
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
dbc89c0f19
Bug 959931 - Use open/mmap for libmozglue unwinding; r=jseward
2014-02-05 12:37:54 -06:00
Aaron Klotz
ab8ff46d04
Bug 902587 - Part 2B: filename method for PoisonIOInterposer; r=BenWa,ehsan
2014-01-31 20:14:03 -07:00
Viktor Stanchev
bb82113f73
Bug 962731 - Properly save root profiler tags in profiles. r=ehsan
2014-01-30 13:13:23 -05:00
Jon Coppeard
4a76452c21
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
009ac7863a
Bug 961959: fix profiler breakage for the Nuwa process. r=khuey,benwa
2014-01-22 18:56:45 +08:00
Aaron Klotz
eb4d60f252
Bug 888534: Add missing operations to IOInterposer::Unregister; r=jonasfj
2014-01-20 16:02:51 -07:00
Ryan VanderMeulen
0439f91b53
Merge b2g-inbound to m-c.
2014-01-19 15:40:48 -05:00
Jed Davis
f94ca8f20d
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
f017da90d9
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
e64b35e141
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Terrence Cole
10295353cd
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
f2e010820a
Bug 952074 - Add configure option --enable-systrace to b2g. r=vlin,glandium
2014-01-08 11:12:02 -05: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
Ehsan Akhgari
8b3cc4cc80
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
759ab69b0a
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
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Ehsan Akhgari
3ec67fcc24
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
f0d70d6191
Bug 944387 - Remove the dead OS X Mutex implementation from the profiler; r=BenWa
2013-11-28 14:35:45 -05:00
Ehsan Akhgari
f51f1ac30d
Follow-up to bug 941693 - Fix mac builds
2013-11-28 09:09:57 -05:00
Benoit Girard
090851c63f
Bug 941693 - Build tools/profiler in unified mode; r=ehsan
2013-11-21 12:08:01 -05:00
Jim Chen
bfd7556706
Bug 935092 - Const-ify profiler pseudostack entries; r=BenWa
2013-11-22 14:17:30 -05:00
Chris Kitching
7144e8c767
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Jed Davis
b2f74ca4eb
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
a65383e1e9
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
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
9fe772e7fd
Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal
2013-11-19 11:47:43 +09:00
Mike Hommey
d7b6f95761
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
5ac36ec631
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
3e3674df1d
Bug 784739 - Switch from NULL to nullptr in tools/profiler/; r=ehsan
2013-11-11 14:16:31 -05:00
Joe Olivas
4594f145f4
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
5f1a80b6aa
Bug 934924 - Check EI_ABIVERSION for jb4.2.2 build. r=jld
2013-11-06 10:08:42 +08:00
Jim Mathies
01c394b538
Bug 927979 - Follow up to fix bad string null check in profiler. r=benwa
2013-11-04 12:27:40 -06: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
Ed Morley
54bdd310c4
Merge mozilla-central and b2g-inbound
2013-10-25 12:12:23 +01:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mason Chang
575461dbb9
Bug 925111 - Enable Profiler to support config options during runtime. r=benwa, jld
2013-10-24 17:09:33 -07:00
Mike Hommey
61124c1afc
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Aaron Klotz
8d8873ed5f
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
1cafa0210f
Bug 927979 - Register the gecko thread correctly in the profiler for FxMetro. r=bgirard
2013-10-22 08:30:06 -05:00
Ms2ger
da025ec5b6
Bug 923395 - Part c: Remove some makefiles that set EXPORT_LIBRARY; r=gps
2013-10-20 09:25:19 +02:00
Jed Davis
84e762a2dc
Bug 916106 - Avoid unwind loop when erroneously in leaf. r=BenWa
2013-10-16 14:42:49 -04:00
Aaron Klotz
d0ab835d70
Bug 899782: Enable NS_StackWalk for obtaining sync stacks in profiler. r=BenWa
2013-10-15 13:06:20 -06:00
Aaron Klotz
b776cfe9c9
Bug 921330: Fix sync unwind on Mac OS X. r=BenWa
2013-10-15 12:58:52 -06:00
Jed Davis
fe113cdef8
Bug 919078 - Add js to async profiler start options. r=BenWa
2013-10-12 13:56:21 -04:00
Benoit Girard
0716f0c2b0
Bug 918825 - Add frame duration marker. r=ehsan
...
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Jacek Caban
d5f372087b
Bug 921435 - Use the right TimeStamp in GeckoProfilerFunc.h. r=aklotz
2013-10-03 10:53:07 +02:00
Phil Ringnalda
1308968f13
Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes
2013-10-01 22:46:48 -07:00
Benoit Girard
7d8c972382
Bug 918825 - Add frame duration marker. r=ehsan
2013-09-27 12:08:45 -04:00
Aaron Klotz
872f14f04a
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
822f30b57d
Bug 920909 - Fix lossy startTime fields serialization. r=ehsan
2013-09-27 11:51:25 -04:00
Ryan VanderMeulen
fb2d6dc1a4
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
b3fd693d20
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
7f22c5c405
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
96d931b9eb
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Benoit Girard
47ffb0516e
Bug 918833 - Improved profiler thread register. r=ehsan
2013-09-24 15:23:36 -04:00
Aaron Klotz
d6425d7927
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
cdd4b06325
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
276e4b787c
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Ehsan Akhgari
b4cc06df88
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
4af93e0c0f
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
c2c963e37e
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
b25c74c014
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
5d25ec6a18
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
623404f3a4
Merge m-c to inbound.
2013-09-12 22:30:22 -04:00
Ryan VanderMeulen
c22b2b3980
Merge m-c to b2g-inbound.
2013-09-12 20:41:54 -04:00
Benoit Girard
bc63664e2d
Bug 914815 - Support profiler options when starting the profiler with a signal. r=jld
2013-09-11 14:01:16 -04:00
Benoit Girard
9862117f99
Bug 915857 - Check-in merge-profiles.py. r=vladan
2013-09-12 16:31:40 -04:00
Benoit Girard
cf2aca467e
Bug 914348 - Name the SamplerThread on linux. r=jld
2013-09-11 13:57:43 -04:00
Terrence Cole
7c72c332e9
Bug 877658 - Exactly root tools/profiler/; r=BenWa
...
--HG--
extra : rebase_source : a7c5bbcb64d7b670e170e3c20dda53d03a4f2cc1
2013-09-05 16:10:37 -07:00
Ryan VanderMeulen
ce0f027f99
Merge b2g-inbound to m-c.
2013-09-11 20:58:14 -04:00
Jed Davis
197c55f1a5
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
51ceff5318
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
8cadc270a4
Bug 810526 - Add multiple-include guard to android-signal-defs.h. r=bgirard
2013-09-11 14:51:59 -04:00
Jed Davis
a0c7f48b3b
Bug 810526 - Factor out native/pseudo stack merging. r=bgirard
2013-09-11 14:51:11 -04:00
Jed Davis
d24d6515c1
Bug 810526 - Add stack top to Thread{Info,Profile}. r=bgirard
2013-09-11 14:50:46 -04:00
Dan Gohman
8b7074b6dc
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Ryan VanderMeulen
00d0a3d29f
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
7eae9ccca8
Bug 914348 - Name SamplerThread on linux. r=jld
...
--HG--
extra : rebase_source : 343dec3b5d4b8eaa4a294c54ae1f74b9e0775401
2013-09-10 11:20:09 -04:00
Jonas Finnemann Jensen
c420e34c77
Bug 902587 - Part 1: Refactor IO Interposer with filename support. r=aklotz
2013-09-12 10:47:37 -04:00
Ms2ger
bb536a6478
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
33cdb42706
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
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Nicholas Nethercote
191ed08f6a
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
Nicholas Nethercote
3f5d413d90
Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
...
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Jan Beich
296b6737d4
Bug 909139 - Define integer types before using them for profiler stubs. r=ms2ger
2013-08-25 22:10:46 +02:00
Gabriele Svelto
c8251ce6f3
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
944d17423c
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Jan Beich
b67cb184d9
Bug 908476 - JSObject/JSContext are also used by non-SPS profiler. r=njn
2013-08-23 09:16:02 +02:00
Nicholas Nethercote
d208a00ee8
Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
...
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Ms2ger
8bfa279bb1
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
f79ae70d10
Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage.
2013-08-22 10:16:30 +02:00
Ms2ger
5e3caea55b
Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
585bec8d38
Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey
2013-08-22 08:31:21 +02:00
Nicholas Nethercote
c8e2369441
Bug 905017 (part 3) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
...
--HG--
extra : rebase_source : 8322f1c96b95685912375484172d47f53107947f
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
42ccf38dcd
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Julian Seward
f3d2bd7154
Bug 894264 - Breakpad Stack scan: don't generate frames we aren't going to use. r=ted.
2013-08-16 21:03:54 +02:00
Ms2ger
a04009b5b7
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
6d567ab3cc
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Jed Davis
b06b93853d
Bug 904335 - sem_post on all return paths in ProfilerSignalHandler. r=BenWa
2013-08-13 16:44:46 -04:00
Trevor Saunders
7da524d402
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04:00
Benoit Girard
aa310d51bc
Bug 820048 - Add microsecond profiling. r=ehsan
...
--HG--
extra : rebase_source : 40fee30c92f7e74dbe1e24778b66813beb8505da
2013-03-26 12:34:27 -04:00
Julian Seward
1729d843e0
Bug 880158 - Remove glibc backtrace() native unwind on Linux. r=bgirard.
...
--HG--
extra : rebase_source : 0a9e752acfe2cad6ec1995c4d4e823e7d9adef23
2013-08-08 18:48:20 +02:00
Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
25d70fdd97
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Gijs Kruitbosch
b22d2ff162
Bug 901481 - add an environment variable to set the number of entries kept by the profiler, r=BenWa
2013-08-05 18:03:22 +02:00
Julian Seward
e4a8a08ba5
Bug 892774 - Breakpad Stack scan: speed up MyCodeModules::GetModuleForAddress. r=bgirard.
2013-08-06 10:36:10 +02:00
Jon Coppeard
71a6b47923
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Bobby Holley
f7c06c0933
Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke
2013-08-01 18:38:47 -07:00
Ehsan Akhgari
5ee21d6d3f
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
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 "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Ryan VanderMeulen
78c8d092c8
Merge m-c to inbound.
2013-07-29 18:42:45 -04:00
Michael Wu
df4f7c13a0
Bug 898810 - Use bionic's getline where available, r=benwa
2013-07-29 13:17:28 -04:00
Trevor Saunders
6b3c839046
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Xavier Fung
e6b61de197
Bug 892858 - Fix profiler build in Visual Studio 2013. r=snorp
2013-07-18 10:13:01 +09:00
Benoit Girard
36c273f61b
Bug 887826 - Disable multi-threaded profiling on b2g to reduce memory usage. r=jseward
...
--HG--
extra : rebase_source : c3403864cd772414ddbf5bbda30e65322832e085
2013-07-16 09:56:43 -04:00
Jed Davis
54bfab9cb0
Bug 892201: replace SPS signal handler completion busy loop with POSIX semaphore. r=benwa
...
--HG--
extra : rebase_source : 48bfcc1a352ae600dd1294d5b5e122ad0c58a745
2013-07-11 23:41:19 -04:00
Jim Chen
2ce559c4bd
Bug 888473 - Start GeckoJavaSampler early when profiling startup; r=BenWa
2013-07-09 16:34:44 -04:00
Trevor Saunders
6be251fe42
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Mike Shal
37bbfefcec
Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4 ); r=joey
2013-07-01 11:34:30 -04:00
Benoit Girard
1a59b1cd2a
Bug 872947 - Release pseudostack when unregister thread. r=snorp
2013-05-16 11:38:23 -04:00
Ehsan Akhgari
c574bc3e98
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-23 20:58:53 -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
Brian O'Keefe
25e65a9445
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #2 ); r=mshal
...
--HG--
extra : rebase_source : 555b28e5c3412ffc210c60b6fe2fee6f053fd587
2013-06-18 08:13:42 -04:00
Aaron Klotz
62efa8de18
Bug 867762: NSPR and SQLite Main Thread I/O Interposing. r=BenWa
2013-06-14 12:01:02 -06:00
Jim Chen
331bf1f64b
Bug 863777 - Add and turn on privacy mode in profiler for ANR reports; r=BenWa
2013-06-14 12:42:10 -04:00
Jim Chen
56b59b8f9b
Bug 863777 - Letting profiler start/stop from a non-registered thread; r=BenWa
2013-06-14 12:42:10 -04:00
Boris Zbarsky
7392630c95
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Trevor Saunders
1fcd01f9fb
bug 876519 - include ostream instead of iostream in the profiler to get rid of static initializers r=ehsan
2013-05-27 08:29:24 -04:00
Julian Seward
004a71f006
Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard.
2013-05-28 14:03:38 +02:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00