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

732 Коммитов

Автор SHA1 Сообщение Дата
Shu-yu Guo 8a5e3bf47a Bug 1148069 - Set SyncProfiles' buffers to an invalid generation. (r=djvj) 2015-03-27 16:39:25 -07:00
Shu-yu Guo d935dadedc Bug 1146718 - Split the 'J' tag in the profiler into 'J' (JIT frames without opt info) and 'O' (with opt info). (r=djvj) 2015-03-24 18:49:16 -07:00
Shu-yu Guo ff15a447de Bug 1145924 - Ensure JSRuntime is kept in sync with the profiler. (r=djvj) 2015-03-23 20:33:01 -07:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Shu-yu Guo 7fa429d624 Bug 1143860 - Deduplicate tracked optimizations when streaming the profile. (r=djvj) 2015-03-20 20:48:31 -07:00
Shu-yu Guo 255786d723 Bug 1143860 - Add column number to PCToLineNumber. (r=djvj) 2015-03-20 20:48:30 -07:00
Kannan Vijayan 1c1b022893 Bug 1135236 - Remove unused print callbacks in profiler backend. r=mstange 2015-03-20 13:51:37 -04:00
Kannan Vijayan c16b7fe9a5 Bug 1145333 - Skip NativeStackAddrs that conflict with pseudoStackAddrs and jsStackAddrs when merging sampler stacks. r=mstange 2015-03-20 13:50:46 -04:00
Kannan Vijayan 8299080b57 Bug 1143802 - Forward jit level information to profiler frontend. r=shu 2015-03-20 13:50:23 -04:00
chiajung hung c56f9b604b Bug 1129249 - Add a "restyle" feature to profiler and split the style label in Cleopatra based on the restyleSource, r=dholbert,mstange
--HG--
extra : rebase_source : 0da0203824cfbf2265b42229b298274156633ddd
2015-03-19 02:19:00 +01:00
chiajung hung 7e284c1ea2 Bug 1142181 - ProfilerBacktrace.cpp should #include its own .h file first, r=aklotz 2015-03-16 23:01:00 +01:00
Shu-yu Guo 61f7f19d8a Bug 1139388 - Remove superfluous locking in the OS X profiler implementation to fix deadlock. (r=mstange) 2015-03-12 16:25:24 -07:00
Markus Stange 9e20b57aab Bug 1141283 - Compensate for stackwalk duration and sleep overhead when determining sampler sleep time. r=BenWa 2015-03-08 20:47:31 -04:00
Shu-yu Guo 06a50f8795 Bug 1140059 - Stop leaking mThreadNameFilters in the profiler. (r=mstange) 2015-03-06 17:58:26 -08:00
Markus Stange e2e4443728 Bug 1132586 - Add thread annotations into the profile buffer when using the unwinder thread. r=jseward 2015-02-12 17:07:54 -05:00
Shu-yu Guo 040f8d6d43 Bug 1136834 - Stop leaking markers in ProfileBuffer. (r=mstange) 2015-03-05 16:23:17 -08:00
Felix Janda 2bbd4d8dc6 Bug 1130164 - tools/profiler: Use <stdint.h> types. r=jseward 2015-02-05 22:51:14 +01:00
Kannan Vijayan 23ba095c80 Bug 1139506 - Check for null JSRuntime in tableticker stack trace merge. r=shu 2015-03-04 18:18:08 -05:00
Kannan Vijayan 834ee9ffd2 Bug 1130367 - Ensure profiler stack sampling is disabled when spsProfiler is disabled. r=shu 2015-03-02 17:46:13 -05:00
chiajung hung 46866d6824 Bug 1129249 - Expose the element id in Gecko profiler for Restyle. r=dholbert r=benwa 2015-02-25 23:16:00 +01:00
Kannan Vijayan ec632c2fe5 Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 16:43:39 -05:00
Ryan VanderMeulen 2351be3127 Backed out changesets 3de23a29bf71 and d42c64b791e6 (bug 1129510) for debug SM(e) timeouts. 2015-02-25 13:44:19 -05:00
Kannan Vijayan d784692baf Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 11:26:28 -05:00
Shu-yu Guo df02b37be7 Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj) 2015-02-23 20:33:56 -08:00
Shu-yu Guo 7c033d640a Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj) 2015-02-23 20:33:56 -08:00
Carsten "Tomcat" Book 797908c3f9 Backed out changeset bc2fdecaaec7 (bug 1129769) for hazard failures on a CLOSED TREE 2015-02-23 10:20:31 +01:00
Carsten "Tomcat" Book feb55fb8f3 Backed out changeset 389c918b643c (bug 1129780) 2015-02-23 10:20:05 +01:00
Shu-yu Guo d5ce4a4494 Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj) 2015-02-22 20:05:34 -08:00
Shu-yu Guo b0462b3639 Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj) 2015-02-22 20:05:34 -08:00
Ryan VanderMeulen a93d947fe1 Backed out changesets fbfda0143584 and e8cfd49ac790 (bug 1129510) for crashes.
CLOSED TREE
2015-02-20 20:01:08 -05:00
Kannan Vijayan a94b9501bb Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-20 17:50:02 -05:00
Kannan Vijayan fe0134cf11 Bug 1135236 - Part 1 - Remove unused ProfileEntry methods. r=BenWa 2015-02-20 17:46:29 -05:00
Tom Tromey fb18433e17 Bug 1130021 - change ProfileBuffer to use the threadsafe refcount. r=benwa 2015-02-06 10:49:00 +01:00
Shu-yu Guo aaeea34735 Bug 1129781 - Re-lookup JIT code return addr when stringifying optimization info instead of caching the index. (r=djvj)
This saves us some circular buffer space.
2015-02-09 18:11:19 -08:00
Peter Chang a63756e767 Bug 1130243 Fix build break with MOZ_USE_SYSTRACE enabled, r=benwa 2015-02-09 10:21:44 +08:00
Shu-yu Guo 49af4f5b4c Bug 1127156 - Attach optimization info to frames in profiler. (r=BenWa) 2015-02-04 13:41:04 -08:00
Daniel Holbert 1f564fb11a Bug 1128578: Add MOZ_OVERRIDE annotations in TableTicker.h. r=ehsan 2015-02-02 09:44:32 -08:00
Markus Stange c116ac9724 Bug 1127498 - Share one buffer between all threads, improve marker lifetime management, some code cleanup. r=BenWa 2015-01-30 14:49:32 -05:00
Cervantes Yu 08345c74b7 Bug 1103915: Output absolute starting time in the captured TaskTracer profile. r=tlee
--HG--
extra : rebase_source : e258ea3548ee4d7f3d806eeb7b4a53daa9061dc1
2014-11-28 17:27:09 +08:00
Leonid V. Fedorenchik 0bb2843db3 Bug 1110874 - Delete payload passed to PROFILER_MARKER_PAYLOAD. r=kats 2015-01-19 10:01:35 -05:00
Kannan Vijayan 73ec9a8625 Bug 1057082 - 7/7 - Fix tests. r=jandem 2015-01-15 20:11:22 -05:00
Kannan Vijayan aef7e0502e Bug 1057082 - 6/7 - Modify profiler sampler to use jit stack walking instead of pseudostack. r=jandem r=BenWa 2015-01-15 20:11:22 -05:00
Markus Stange 82d5d49ba3 Bug 1121591 - Add nsIProfiler.dumpProfileToFile. r=BenWa 2015-01-14 19:05:32 -05:00
Markus Stange cf6b273396 Bug 1121576 - Profile the compositor thread by default. r=BenWa 2015-01-14 19:05:25 -05:00
Brian Smith ea66053341 Bug 1119776, Part 7: Avoid defining snprintf when MSVC provides it (other), r=bsmedberg
--HG--
extra : rebase_source : 3fc7e4e83f57252e15cf32846f23e497f8532ea5
2015-01-08 22:35:33 -08:00
Wes Kocher 235c27f622 Backed out 8 changesets (bug 1057082) for ASAN failures on a CLOSED TREE
Backed out changeset 0c1fabbfc583 (bug 1057082)
Backed out changeset 99213cacd671 (bug 1057082)
Backed out changeset 76d528767946 (bug 1057082)
Backed out changeset b1ad3dabec8f (bug 1057082)
Backed out changeset f927b9899077 (bug 1057082)
Backed out changeset 635e101ed2be (bug 1057082)
Backed out changeset a7d9f158838d (bug 1057082)
Backed out changeset b1cb68eadf6c (bug 1057082)
2015-01-14 15:26:50 -08:00
Kannan Vijayan cbecc2707a Bug 1057082 - 7/7 - Fix tests. r=jandem 2015-01-14 16:19:14 -05:00
Kannan Vijayan f4638168e9 Bug 1057082 - 6/7 - Modify profiler sampler to use jit stack walking instead of pseudostack. r=jandem r=BenWa 2015-01-14 16:19:14 -05:00
Nicholas Nethercote 0dbbf4fee6 Bug 1120126 - Fix crash in RtlVirtualUnwind when starting the Gecko profiler on Win64. r=dmajor.
--HG--
extra : rebase_source : 46ed1ff91abf681d816a267f9496e0154b3d3542
2015-01-12 17:58:33 -08:00
Masatoshi Kimura bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Chris Peterson 9e23388ca8 Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Jim Chen db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari 4354953b4f Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari 46565f214b Bug 1118411 - Mark virtual overridden functions as MOZ_OVERRIDE in Gecko Profiler; r=BenWa 2015-01-06 16:30:03 -05:00
Gina Yeh f30813f19f Bug 1111949 - [TaskTracer] Bulid error: mozilla-central/tools/profiler/GeckoTaskTracer.cpp:115:31: error: expected ')' before 'false', r=sinker. 2014-12-22 10:04:44 +08:00
Landry Breuil 454ef9cfac Bug 1113973 - include <stdarg.h> to get struct va_list definition r=bgirard 2014-12-21 17:38:21 +01:00
Benoit Girard 22355f0c17 Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange
--HG--
extra : rebase_source : 5c7295e80105b0db43651553c1b901836571cbbb
2014-12-18 13:32:53 -05:00
Benoit Girard e144df0092 Bug 1111258 - Let the profiler turn on layout.display-list.dump. r=mstange 2014-12-13 15:40:18 -05:00
Benoit Girard 8aace40d67 Bug 1111830 - b2g profiling shouldn't delegate to child processes like e10s. r=mconley
--HG--
extra : rebase_source : 8dd4735fa38227890760c3781d78ce809abcc703
2014-12-15 18:17:25 -05:00
Ehsan Akhgari 6b438c6b4c Bug 1111228 - Remove the MSVC2005 special casing from PseudoStack.h; r=BenWa
--HG--
extra : amend_source : c6adbc3ff76b040433e5b8af342a4aa4575f4bf0
2014-12-14 14:55:00 -05:00
Benoit Girard 7ec9bbd504 No bug - Fix type error breaking microsecond profiling. r=me
--HG--
extra : rebase_source : a7d36729969d95c7f9c79bedf4d825282231d7c2
2014-12-12 16:49:00 -05:00
Benoit Girard 44767cdc2f Bug 1110998 - Let the profiler turn on layers.dump-texture. r=mstange
--HG--
extra : rebase_source : 05cd593beaf75999aed7c274410dfac422dc6696
2014-12-12 16:11:57 -05:00
Tom Tromey 941025cb98 Bug 1047124 - Clean up memory leaks. r=BenWa 2014-12-11 09:41:00 -05:00
Kai-Zhen Li 2b0a48dad8 Bug 1104653 - Add api level 21 for gonk-l. r=glandium 2014-11-26 17:37:09 +08:00
Benoit Girard 2b399d2194 Bug 1087435 - Fix accidental return. r=me 2014-12-09 14:44:10 -05:00
Chris Peterson 22d0c4b343 Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Trevor Saunders 1a013270b5 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Gina Yeh 51ce3cd47f Bug 1091479, Patch2: Rename enum members, r=sinker. 2014-11-24 09:47:39 +08:00
Gina Yeh edd3d46514 Bug 1091479, Patch 1: Log dispatch time when creating a source event, r=sinker. 2014-11-24 09:47:13 +08:00
Shelly Lin 2be44806ed Bug 1100259 - Add TaskTracer labels in EventDispatcher and console.log of message with special prefix. r=sinker. 2014-11-20 10:57:27 +08:00
Mike Conley ccd8edc947 Bug 1008435 - Let the Gecko Profiler work with child processes. r=BenWa,smaug.
We now allow profiling the content process for e10s, and plugin processes.

--HG--
extra : rebase_source : 1f2e35d4d55b33b56160132893dbf7d4787925fa
extra : amend_source : d03465d4318f8e50c7624ad0eeb681b30c068b11
2014-11-18 12:50:25 -05:00
Julian Seward 259deac308 Bug 788974 - Don't disable elfhack when enabling profiling on platforms supporting dl_iterate_phdr. r=glandium.
--HG--
extra : rebase_source : b89c14b8a11473e34707447656d8616dd90075c5
2014-11-17 23:43:14 +01:00
Cervantes Yu f980ca7897 Bug 1091533, Part 3: Reset thread id in SPS when a content process is forked. r=BenWa 2014-11-06 19:34:07 +08:00
Cervantes Yu 160428a1e3 Bug 1091533, Part 1: Don't wrap tgkill() on the Nuwa process. r=BenWa 2014-11-06 19:10:52 +08:00
Kan-Ru Chen (陳侃如) 5421246824 Bug 1097577 - CreateFakeTracedTask should return a already_AddRefed. r=thinker 2014-11-13 16:57:11 +08:00
Julian Seward 63a104efba Bug 788974 - Don't disable elfhack when enabling profiling on platforms supporting dl_iterate_phdr. r=glandium. 2014-11-10 09:31:09 +01:00
Gina Yeh d33f31e6be Bug 1089514, Patch 1: Some traced tasks/runnables have record of dispatch, but no records of execution, r=thinker.
---
 tools/profiler/TracedTaskCommon.cpp |   19 +++++--------------
 tools/profiler/TracedTaskCommon.h   |   12 ++++++++----
 xpcom/threads/TimerThread.cpp       |    2 ++
 xpcom/threads/nsTimerImpl.cpp       |    3 +++
 xpcom/threads/nsTimerImpl.h         |    2 +-
 5 files changed, 19 insertions(+), 19 deletions(-)
2014-11-04 17:42:03 +08:00
Cervantes Yu c9f9da3520 Bug 1064673: Use mozilla::TimeDuration in TaskTracer. r=tlee 2014-10-17 17:33:03 +08:00
Tom Tromey 6ef90806e2 Bug 1088731 - initialize all members of TickSample. r=bgirard 2014-10-24 09:47:00 +02:00
Benoit Girard e56f3b4b68 Bug 737967 - Add simple platform GPU Profiling based on GL_TIME_ELAPSED_EXT. r=ehsan,jgilbert 2014-05-24 16:14:14 +00:00
Ryan VanderMeulen fce5fdc4c8 Backed out changeset 157b1f4e4ed2 (bug 737967) for Windows B2G desktop bustage.
CLOSED TREE
2014-10-22 12:44:49 -04:00
Benoit Girard 03e4a59d59 Bug 737967 - Add simple platform GPU Profiling based on GL_TIME_ELAPSED_EXT. r=ehsan,jgilbert 2014-05-24 16:14:14 +00:00
Jed Davis 6688e00977 Bug 1082817 - Limit ARM exidx sorting hack to Android versions that need it. r=BenWa 2014-10-20 14:33:48 -07:00
Jim Chen 0c35b09fce Bug 1077662 - Add PROFILER_LABEL_FUNC macro; r=BenWa 2014-10-14 23:20:16 -04:00
Shelly Lin 88e9509938 Bug 992454 - Part 2: Integrate TaskTracer into GeckoProfiler. r=benwa. 2014-10-14 10:56:44 +08:00
Shelly Lin ext:(%2CCervantes%20Yu%20%3Ccyu%40mozilla.com%3E) 89b484cd7a Bug 992454 - Part 1: Log TaskTracer data into string buffers and bug fixes. r=khuey. 2014-10-14 10:47:59 +08:00
Benoit Girard b2dec4e821 Bug 1054110 - Let profiling circular buffer survive thread shutdown. r=ehsan 2014-10-06 14:12:52 -04:00
Andrew Halberstadt d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Mason Chang 7bb63f5b26 Bug 1073545 - Add Vsync Markers to SPS Profiler. r=benwa 2014-10-01 13:01:59 -07:00
Nicholas Nethercote 2eb56008e2 Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
--HG--
extra : rebase_source : 4f7060a9ae0bed180899651c50e8ea8857e72d63
2014-09-10 21:47:01 -07:00
Ed Morley 2d0f9579b5 Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs 2014-10-03 15:06:16 +01:00
Nicholas Nethercote c9c64de53c Bug 1062709 (part 1) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
--HG--
extra : rebase_source : 0f9b2d6310433ed56f5552706fcf2a96571aee25
2014-09-10 21:47:01 -07:00
Kan-Ru Chen (陳侃如) 5bbbbfcab1 Bug 1062794 - TaskTracer: Allow UNKNOWN source event id. r=khuey
--HG--
extra : rebase_source : 2a1238b9b49703c1c2aecbbe8616ac8c199fe874
2014-09-30 11:03:53 +08:00
Tom Schuster 7782444d76 Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu 2014-09-23 15:25:31 +02:00
Wander Lairson Costa 9ad6d9f69c Bug 1061800 - Add breakpad ids to profiler in Linux. r=BenWa
By default, breakpad uses the build-id section for ids, if it isn't
found, it uses the .text section. On the later case, the stripped
libraries will have different ids from their non-stripped counterparts.

See Bug 1062459 for details.
2014-09-09 13:44:00 +02:00
Benoit Girard e5339b9d7f Bug 1065122 - Count ProfilerBacktrace ctor/dtor. r=trivial
--HG--
extra : rebase_source : 2bfe5cd0e57136e6841e0829be882d0a8f3cd3e8
2014-09-16 15:35:55 -04:00
Ehsan Akhgari a23b1f37d8 Bug 1065668 - Fix more bad implicit ctors in profiler; r=BenWa 2014-09-10 22:06:53 -04:00
Ryan VanderMeulen 8777ff4fa0 Merge fx-team to m-c. a=merge 2014-09-09 19:05:41 -04:00
Patrick Brosset fb1884e4ec Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 20:54:08 +02:00
Mason Chang 8b0a694ba0 Bug 1049258 - Make it easier to collect frame uniformity results. r=benwa 2014-09-05 12:39:59 -07:00