Shu-yu Guo
0fafc89798
Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange)
2015-04-24 17:30:58 -07:00
Shu-yu Guo
a145bf447c
Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange)
2015-04-24 17:30:58 -07:00
Mike Hommey
d35960788e
Bug 1157299 - Post to pastebin as "Anonymous" instead of "None" by default. r=gps
2015-04-25 08:28:25 +09:00
Mike Hommey
cc6c35eb00
Bug 1157299 - Use HTTPS for mach pastebin. r=gps
...
Submitting to HTTP just redirects to the main page on HTTPS, without storing the paste.
2015-04-25 08:28:24 +09:00
Nathan Froyd
7e539337cc
Bug 1155816 - part 1 - move NO_JS_MANIFEST to moz.build; r=mshal
2015-04-17 14:50:12 -04:00
Nathan Froyd
d264a57b76
Bug 1155776 - move USE_EXTENSION_MANIFEST to moz.build; r=mshal
2015-04-17 13:51:42 -04:00
Shu-yu Guo
293e34735f
Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange)
2015-04-24 17:36:13 -07:00
Shu-yu Guo
94d3529cbf
Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange)
2015-04-24 17:35:57 -07:00
Kartikaya Gupta
cd5b55f8d6
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04:00
Kannan Vijayan
525df2926a
Bug 1145306 - Expose circular buffer status from profiler. r=mstange
2015-04-22 15:36:43 -04:00
Andrea Marchesini
085da9302a
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
L. David Baron
5d62e2d221
Make split-profile run jprof in the directory with the jprof-log. No bug.
2015-04-20 23:10:40 -07:00
Ryan VanderMeulen
86aee22968
Merge inbound to m-c. a=merge
...
--HG--
rename : toolkit/modules/tests/browser/browser_AddonWatcher.js => toolkit/components/perfmonitoring/tests/browser/browser_AddonWatcher.js
2015-04-17 15:44:37 -04:00
Shu-yu Guo
218ee73d59
Bug 1154997 - Deal with self-hosted builtins when stringifying tracked optimization type info. (r=djvj)
2015-04-16 20:32:49 -07:00
Cervantes Yu
b587b38602
Bug 1095433: fix the race condition in the Task Tracer that crashes processes forked from Nuwa. r=tlee
2014-12-22 14:57:12 +08:00
Nathan Froyd
d876b3e545
Bug 870891 - move DIST_FILES to moz.build; r=mshal
2015-04-15 16:04:49 -04:00
Julian Seward
b4ae4c670f
Bug 1141712 - Make LUL work with inplace ticking (not using the unwinder thread). r=mstange.
...
--HG--
extra : rebase_source : b7dfa54dfe7dd49e1dacf93fe6cc3f8cd5c7c901
2015-04-15 12:24:38 +02:00
Jan Beich
cfd87b0f40
Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker r=dholbert r=mstange
2015-04-14 19:38:47 +02:00
Wes Kocher
7c4595242e
Backed out changeset 84ebfdd3c94c (bug 1151829) for windows build bustage CLOSED TREE
2015-04-09 13:40:50 -07:00
Jan Beich
eb62c291f5
Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker
2015-04-07 17:26:00 -04:00
Shu-yu Guo
0ec63812df
Bug 1151679 - Stream the property name of getprop and setprop optimization sites. (r=djvj)
2015-04-08 20:36:20 -07:00
Kannan Vijayan
98ee5f206d
Bug 1150252 - Make profiler sampler use pthread_kill on macos. r=mstange
2015-04-08 11:19:08 -04:00
Randall Barker
c236b48231
Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd
...
--HG--
extra : rebase_source : 93f11457b16b344e148a6fcb924b286ef8a48051
2015-04-03 15:52:00 +02:00
Shu-yu Guo
fb729d0b86
Bug 1150714 - Fix streaming tracked optimizations for functions that don't have a displayAtom. (r=djvj)
2015-04-06 18:38:31 -07:00
Shu-yu Guo
d004b16340
Bug 1151168 - Don't flush profiled threads that are pending deletion on JS shutdown and don't delete expired markers when resetting the profile buffer. (r=djvj)
2015-04-06 18:38:30 -07:00
YFdyh000
e934278bbc
Bug 1146875 - Fix the leak-gauge.html broken and add a encoding declaration. r=dbaron
...
--HG--
extra : rebase_source : 48bfdde1adfa4f9b5de31d5338ffdb5fbe463850
2015-03-24 06:23:00 -04:00
Jan Beich
d8a32020cb
Bug 1145988 - Unbreak build on non-SPS platforms after bug 1129249
. r=dholbert f=chiajung
2015-04-02 21:43:48 +02:00
Shu-yu Guo
bc9fd9bf3d
Bug 1137569 - Delay stringification of JIT frames until streaming time. (r=djvj)
2015-04-02 14:50:08 -07:00
Shu-yu Guo
a568da1180
Bug 1137569 - Stream and save samples and markers in the profiler on JSRuntime destruction. (r=mstange)
2015-04-02 14:50:08 -07:00
Markus Stange
d18985cfe1
Bug 1150642 - Make mozilla_sampler_save_profile_to_file callable from lldb in Nightly builds. r=jrmuizel
...
--HG--
extra : rebase_source : deaf6793ddc54c487341978c6021f7b0da1c7f57
2015-04-01 12:08:34 -04:00
Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Shu-yu Guo
7dd2496745
Bug 1148069 - Ensure synchronous sampling does not set JitcodeGlobalEntry's generation. (r=djvj)
2015-03-28 01:21:04 -07:00
Phil Ringnalda
deb6a77305
Backed out 2 changesets (bug 1148069) for devtools-2 leaks
...
CLOSED TREE
Backed out changeset d1e9b787eaeb (bug 1148069)
Backed out changeset c68a6ebe6083 (bug 1148069)
2015-03-27 19:58:29 -07:00
Shu-yu Guo
583981ecbc
Bug 1148069 - Followup: maybe fix leaks on a CLOSED TREE. (r=me)
2015-03-27 18:40:06 -07:00
Shu-yu Guo
8a5e3bf47a
Bug 1148069 - Set SyncProfiles' buffers to an invalid generation. (r=djvj)
2015-03-27 16:39:25 -07:00
Wes Kocher
5b6f65bcdb
Merge m-c to inbound a=merge CLOSED TREE
2015-03-26 17:46:35 -07:00
Mike Hommey
525ae5030d
Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
...
Back when mozpack.path was added, it was used as:
import mozpack.path
mozpack.path.func()
Nowadays, the common idiom is:
import mozpack.path as mozpath
mozpath.func()
because it's shorter.
$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123
This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Stéphane SCHMIDELY
f5adae293e
Bug 1144629 - UnicodeDecodeError in ./mach mercurial-setup. r=gps, r=glandium
2015-03-25 12:25:49 +01: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
Mike Shal
3399d1a42b
Bug 1137756 - Use absolute paths in complete-patch.patch. r=gps
2015-02-27 17:49:29 +01: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
Nicholas Nethercote
97b5d348cc
Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
...
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08: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
Gregory Szorc
6d6343a1cd
Bug 1115278 - Add virtualenv to Sphinx environment; r=glandium
...
Python API documentation requires the ability to import modules. So, we
set up a virtualenv in our Sphinx environment so module loading works.
This solution isn't perfect: a number of modules fail to import when run
under sphinx-build.
--HG--
extra : rebase_source : fce732e0b8aefe0e9a2ee594b8a08ac02e27579a
extra : histedit_source : bef27c947b95c3182fbc6cd656ae8c96acaaa6f4
2014-12-24 10:17:02 -08:00
Gregory Szorc
e96948d5a8
Bug 1115278 - Move Sphinx documentation staging into Sphinx extension; r=glandium
...
Previously, code for staging the Sphinx documentation from moz.build
metadata lived in a mach command and in the moztreedocs module. This
patch moves the invocation to the Sphinx extension.
When the code is part of the Sphinx extension, it will run when executed
with sphinx-build. This is a prerequisite to getting RTD working, since
sphinx-build is the only supported entrypoint for generating
documentation there.
With this patch, we can now invoke sphinx-build to build the
documentation. The `mach build-docs` command is no longer needed.
--HG--
extra : rebase_source : 86e76c7d598ffa23dae858254eecedbdd12706a4
extra : histedit_source : 1826aa5ddfafdff62847cc293d1f0950b236caac
2014-12-24 09:46:41 -08:00
Gregory Szorc
9d5bd72a6e
Bug 1115278 - Store docs directory in a variable; r=glandium
...
--HG--
extra : rebase_source : b23e3e6202a2ea4b6f8ed24cdcf2698dededf6b6
extra : histedit_source : bfa988fb2259a03439700dfc894eefdeb2bb4a98
2014-12-23 23:18:48 -08:00
Gregory Szorc
468e18d939
Bug 1115278 - Move Sphinx build scanning into moztreedocs; r=glandium
...
In order for Sphinx documentation to work with Read The Docs, we need
the code for scanning the build config for Sphinx documentation to live
in an importable module. This patch moves some code from the
|build-docs| mach command into an importable module.
--HG--
extra : rebase_source : 263972d1415419c59c25058ca2cb90b3c31eda89
extra : histedit_source : e120aa117c63d54f6b293ae63d9bd1338ea0e808
2014-12-23 22:53:50 -08: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