Commit Graph

1728 Commits

Author SHA1 Message Date
Gregory Szorc
97fe4bc7c7 Bug 1176642 - Remove unused imports; r=glandium 2015-06-25 12:16:38 -07:00
Eric Rahm
a6fde4a49f Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu 2015-05-28 15:26:52 -07:00
Benoit Girard
4ac4ead7b5 Bug 1172186 - Make the profiler build standalone. r=mstange 2015-06-18 01:05:42 -04:00
Benoit Girard
9b4532466d Bug 1172216 - Move nsStackwalk to mozglue. r=glandium 2015-06-10 16:32:45 -04:00
Tom Tromey
42f21664cb Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell 2015-06-16 22:28:00 -04:00
Shelly Lin
1c846a6914 Bug 1113562 - Expected delay time of tasks should not be the latency of those kind. r=sinker 2015-06-16 10:57:19 +08:00
Mike Shal
9dcc22bf89 Bug 1173998 - use localized package for previous mar; r=nthomas 2015-06-15 10:45:17 -04:00
Julian Seward
64813667c9 Bug 1165833 - LUL testing: import gtest/gmock based Dwarf CFI tests from toolkit/crashreporter/google-breakpad. r=jimb. 2015-06-15 15:47:43 +02:00
Mike Conley
4113848644 Bug 1116188 - Add async ProfileGatherer as the mechanism for gathering profiles from subprocesses. r=bgirard,bz 2015-06-10 17:58:30 -04:00
Shu-yu Guo
55fdfc4d81 Bug 1167895 - Escape JS engine SPS profile strings to UTF8 properly. (r=djvj) 2015-06-11 18:30:39 -07:00
Shu-yu Guo
58b59acb1b Bug 1172157 - Save malformed profile JSON to file to help debug. (r=BenWa) 2015-06-08 12:21:58 -07:00
Nick Thomas
274706953e Bug 1160514: Use osslsigncode for 32-bit signing r=ted 2015-06-05 12:05:14 +12:00
Shu-yu Guo
a78214a812 Bug 1171240 - Avoid copies when splicing inside ProfileJSONWriter. (r=mstange) 2015-06-05 18:43:16 -07:00
Shu-yu Guo
671ac78eba Bug 1171208 - Fix null-terminating chunks in ChunkedJSONWriteFunc. (r=mstange) 2015-06-04 03:22:56 -07:00
Ting-Yu Chou
8c7598e371 Bug 1168784 - Part 1: Fix the script merging profiles to handle new profiler JSON format. r=benwa 2015-06-01 18:09:29 +08:00
Nick Thomas
6060094ea1 Bug 1170913, full-update target in tools/update-packaging/ always runs automation-partial-patch, r=glandium DONTBUILD 2015-06-03 16:58:59 +12:00
Chris Manchester
5d0954c432 Bug 1162093 - Add "push-to-try" from version-control-tools to the mercurial setup wizard prompt.;r=gps 2015-06-02 20:41:29 -07:00
Gregory Szorc
3e9996dd85 Bug 1168466 - Prompt to install bundleclone extension; r=smacleod
We're about to deploy this to release automation. We might as well have
normal people start using it as well. We could perhaps even have the
extension print out information on how to resume interrupted downloads
someday, so it will pay to have this enabled so they can utilize that
feature some day in the future.

DONTBUILD (NPOTB)
2015-05-26 10:07:32 -07:00
Gregory Szorc
d154923db3 Bug 1168466 - Bump minimum Mercurial version; r=smacleod
We dropped support for Mercurial 3.0 in version-control-tools. Bump
minimum versions in extensions to reflect this.

We highly recommend people run a modern Mercurial. Bump the minimum
non-legacy version to reflect that.
2015-05-26 10:00:52 -07:00
Jim Chen
f4c8546f45 Bug 1169334 - Fix missing braces in Java thread profile; r=mstange 2015-06-02 16:31:25 -04:00
Eric Rahm
edad1539d9 Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu 2015-05-28 15:26:52 -07:00
Markus Stange
d66f75db6e Back out bug 1150252 (using pthread_kill for OS X profiling) because of bug 1166778 and bug 1166808. r=djvj 2015-05-19 14:48:44 -04:00
Shu-yu Guo
63b8eb752c Bug 1168265 - Clean up ChunkedJSONWriteFunc. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo
fdc81032ef Bug 1167230 - Use nsCString instead of std::string in FrameKey in the profiler. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo
9bb39f0511 Bug 1166492 - Return UniquePtr<char[]> from profiler_get_profile to avoid double copying. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo
1592c386e9 Bug 1166492 - Remove dead code in the ProfileBuffer and ThreadProfile. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo
330a2c9062 Bug 1166492 - Handle huge strings in the profile JSON writer. (r=mstange) 2015-05-26 22:58:40 -07:00
Botond Ballo
ad4aea9284 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
Phil Ringnalda
7886a51923 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
eeb3ca1139 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-25 20:45:17 -04:00
Carsten "Tomcat" Book
b1a89e52a1 Merge mozilla-central to fx-team 2015-05-20 16:10:15 +02:00
Shu-yu Guo
13d292aa6a Bug 1166126 - Increase the size of the tag buffer in the profiler. r=mstange 2015-05-18 20:57:00 -04:00
JerryShih
c4edddd50b Bug 1164785 - Append line number to systrace scopedTrace object name. r=BenWa 2015-05-14 01:41:00 -04:00
Jim Chen
1807082f8f Bug 1163135 - Make it safer to start the profiler via signal; r=snorp 2015-05-19 11:27:18 -04:00
Ed Morley
c84cc0a947 Bug 1164812 - mach mercurial-setup: Always mark the v-c-t repo as needing update
Currently we only mark the version-control-tools repo as needing updating, if
we did not pass a path param to prompt_external_extension(). This is because if
no path is passed, the extension is used from the version-control-tools repo,
and so if _no_ path is passed, it's presumed the extension is external to the
repo. However this is not always the case - eg if we need to specify a specific
file for an extension (vs the entire directory), we have to do so be passing in
the path. We hit this case for reviewboard.

With this change, we always mark the version-control-tools repo as needing an
update, no matter where the extension was located.
2015-05-19 09:41:38 +01:00
Ed Morley
bbf70c5b9b Bug 978514 - mach mercurial-setup: Use mqext from the version-control-tools repo
mqext was moved into the version-control-tools repo some time ago, but mach
mercurial-setup was still pointing at the old repo location, which is no longer
being updated.
2015-05-19 09:41:38 +01:00
Gregory Szorc
77ed247b78 Bug 1164315 - Update key fingerprint for bitbucket.org; r=me
Value obtained from
https://blog.bitbucket.org/2015/05/06/bitbuckets-ssl-certificate-is-changing-for-sha-2/
and verified to work.

DONTBUILD (NPOTB)
2015-05-12 20:21:47 -07:00
Shu-yu Guo
b8dfa64cca Bug 1154115 - Fix nsIProfiler xpcshell tests to use the new profiler JSON format. (r=me) 2015-05-11 14:16:44 -07:00
Shu-yu Guo
b75c46733e Bug 1154115 - Rewrite profiler JSON streaming. (r=mstange) 2015-05-11 14:16:44 -07:00
Jordan Santell
9bf50a866e Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
Gregory Szorc
913fdaf7e5 Bug 1128586 - Prefer hg.exe over hg; r=RyanVM
This is needed for compatibility with an upcoming release of
MozillaBuild, which distributes Mercurial as a Python package, not as a
standalone Windows program. As a result, it introduces "hg" into $PATH,
which "which" will happily prefer as the "hg" binary. This upsets
subprocess. So, we explicitly prefer "hg.exe" over "hg".

We could accomplish the same thing by calling which.whichall() and
sorting results. But this is more code and IMO not worth the effort to
implement.
2015-04-27 10:43:49 -07:00
Carsten "Tomcat" Book
6723c48492 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Shu-yu Guo
13889b6bbb Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange) 2015-04-25 15:56:03 -07:00
Shu-yu Guo
8d482a58be Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) 2015-04-25 15:55:56 -07:00
Tooru Fujisawa
ab9372e1ec Backed out changeset 5468f1f83ca8 (bug 1145824) for mochitest-other failure 2015-04-25 13:50:27 +09:00
Tooru Fujisawa
d70c386119 Backed out changeset a913dca49e73 (bug 1145824) for mochitest-other failure 2015-04-25 13:50:25 +09:00
Tooru Fujisawa
4ce42533e1 Backed out changeset 9bd76ec482d2 (bug 1145824) for mochitest-other failure 2015-04-25 14:12:25 +09:00
Tooru Fujisawa
2b2c47b993 Backed out changeset 09b28ebb2216 (bug 1145824) for mochitest-other failure 2015-04-25 14:12:23 +09:00
Shu-yu Guo
e92e7b9873 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
c2c97e5ba3 Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) 2015-04-24 17:30:58 -07:00
Mike Hommey
90d1dd5694 Bug 1157299 - Post to pastebin as "Anonymous" instead of "None" by default. r=gps 2015-04-25 08:28:25 +09:00
Mike Hommey
2c44fc1958 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
a5d64ab97b Bug 1155816 - part 1 - move NO_JS_MANIFEST to moz.build; r=mshal 2015-04-17 14:50:12 -04:00
Nathan Froyd
4883ffd726 Bug 1155776 - move USE_EXTENSION_MANIFEST to moz.build; r=mshal 2015-04-17 13:51:42 -04:00
Shu-yu Guo
a26f07571a 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
9f2acf9c0e Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) 2015-04-24 17:35:57 -07:00
Kartikaya Gupta
69c50300c9 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Kannan Vijayan
a9a0abb4fe Bug 1145306 - Expose circular buffer status from profiler. r=mstange 2015-04-22 15:36:43 -04:00
Andrea Marchesini
c77bfc0235 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
870c7798cd Make split-profile run jprof in the directory with the jprof-log. No bug. 2015-04-20 23:10:40 -07:00
Ryan VanderMeulen
0184ad2c22 Merge inbound to m-c. a=merge 2015-04-17 15:44:37 -04:00
Shu-yu Guo
c7e9fd5dea 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
44f33eae69 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
4ac32b4479 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Julian Seward
77c2aaebbf Bug 1141712 - Make LUL work with inplace ticking (not using the unwinder thread). r=mstange. 2015-04-15 12:24:38 +02:00
Jan Beich
54d60bb515 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
336b2d13c1 Backed out changeset 84ebfdd3c94c (bug 1151829) for windows build bustage CLOSED TREE 2015-04-09 13:40:50 -07:00
Jan Beich
ca8af9866b Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker 2015-04-07 17:26:00 -04:00
Shu-yu Guo
5d19a76ed2 Bug 1151679 - Stream the property name of getprop and setprop optimization sites. (r=djvj) 2015-04-08 20:36:20 -07:00
Kannan Vijayan
106995796d Bug 1150252 - Make profiler sampler use pthread_kill on macos. r=mstange 2015-04-08 11:19:08 -04:00
Randall Barker
699f5b6a9b Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd 2015-04-03 15:52:00 +02:00
Shu-yu Guo
67f785d3f2 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
383c446174 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
6ec9385d1b Bug 1146875 - Fix the leak-gauge.html broken and add a encoding declaration. r=dbaron 2015-03-24 06:23:00 -04:00
Jan Beich
a723bd9d20 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
2a5551df33 Bug 1137569 - Delay stringification of JIT frames until streaming time. (r=djvj) 2015-04-02 14:50:08 -07:00
Shu-yu Guo
e7aa0f3877 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
d55c1db86c Bug 1150642 - Make mozilla_sampler_save_profile_to_file callable from lldb in Nightly builds. r=jrmuizel 2015-04-01 12:08:34 -04:00
Mike Hommey
ee117642af 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
2723dcd0ff Bug 1148069 - Ensure synchronous sampling does not set JitcodeGlobalEntry's generation. (r=djvj) 2015-03-28 01:21:04 -07:00
Phil Ringnalda
1cda50a708 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
755bed6909 Bug 1148069 - Followup: maybe fix leaks on a CLOSED TREE. (r=me) 2015-03-27 18:40:06 -07:00
Shu-yu Guo
dc37949a92 Bug 1148069 - Set SyncProfiles' buffers to an invalid generation. (r=djvj) 2015-03-27 16:39:25 -07:00
Wes Kocher
ec293905dc Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Mike Hommey
57fbadfa4f 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
900310dd9b Bug 1144629 - UnicodeDecodeError in ./mach mercurial-setup. r=gps, r=glandium 2015-03-25 12:25:49 +01:00
Shu-yu Guo
dfa17e9fc8 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
8f37c8962f Bug 1145924 - Ensure JSRuntime is kept in sync with the profiler. (r=djvj) 2015-03-23 20:33:01 -07:00
Ehsan Akhgari
5cccea6f0f 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
6bd8282dd3 Bug 1143860 - Deduplicate tracked optimizations when streaming the profile. (r=djvj) 2015-03-20 20:48:31 -07:00
Shu-yu Guo
cd30bbef84 Bug 1143860 - Add column number to PCToLineNumber. (r=djvj) 2015-03-20 20:48:30 -07:00
Kannan Vijayan
ed4c0370c4 Bug 1135236 - Remove unused print callbacks in profiler backend. r=mstange 2015-03-20 13:51:37 -04:00
Kannan Vijayan
3b8d6c58e5 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
ba33562b8c Bug 1143802 - Forward jit level information to profiler frontend. r=shu 2015-03-20 13:50:23 -04:00
chiajung hung
6627df06b1 Bug 1129249 - Add a "restyle" feature to profiler and split the style label in Cleopatra based on the restyleSource, r=dholbert,mstange 2015-03-19 02:19:00 +01:00
chiajung hung
d84e7bed32 Bug 1142181 - ProfilerBacktrace.cpp should #include its own .h file first, r=aklotz 2015-03-16 23:01:00 +01:00
Shu-yu Guo
3dc8d97834 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
3f18f46d05 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
2026092b1d Bug 1140059 - Stop leaking mThreadNameFilters in the profiler. (r=mstange) 2015-03-06 17:58:26 -08:00
Markus Stange
dde7679e8a 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
8eeda9c070 Bug 1136834 - Stop leaking markers in ProfileBuffer. (r=mstange) 2015-03-05 16:23:17 -08:00
Felix Janda
bfa4f62d03 Bug 1130164 - tools/profiler: Use <stdint.h> types. r=jseward 2015-02-05 22:51:14 +01:00
Kannan Vijayan
01e8d2776b Bug 1139506 - Check for null JSRuntime in tableticker stack trace merge. r=shu 2015-03-04 18:18:08 -05:00
Mike Shal
edec6e0804 Bug 1137756 - Use absolute paths in complete-patch.patch. r=gps 2015-02-27 17:49:29 +01:00
Kannan Vijayan
a7ec86cd07 Bug 1130367 - Ensure profiler stack sampling is disabled when spsProfiler is disabled. r=shu 2015-03-02 17:46:13 -05:00
chiajung hung
3e005dd69d 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
c85ef36c15 Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 16:43:39 -05:00
Ryan VanderMeulen
24d3abfbf9 Backed out changesets 3de23a29bf71 and d42c64b791e6 (bug 1129510) for debug SM(e) timeouts. 2015-02-25 13:44:19 -05:00
Kannan Vijayan
923864b511 Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 11:26:28 -05:00
Shu-yu Guo
01e14a347f 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
76a818f4c8 Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj) 2015-02-23 20:33:56 -08:00
Carsten "Tomcat" Book
6d8808c7af Backed out changeset bc2fdecaaec7 (bug 1129769) for hazard failures on a CLOSED TREE 2015-02-23 10:20:31 +01:00
Carsten "Tomcat" Book
9bf1fcebc5 Backed out changeset 389c918b643c (bug 1129780) 2015-02-23 10:20:05 +01:00
Shu-yu Guo
522ad62eb8 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
ae0d6a31fa Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj) 2015-02-22 20:05:34 -08:00
Ryan VanderMeulen
b06a9f6b14 Backed out changesets fbfda0143584 and e8cfd49ac790 (bug 1129510) for crashes.
CLOSED TREE
2015-02-20 20:01:08 -05:00
Kannan Vijayan
7375b7b173 Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-20 17:50:02 -05:00
Kannan Vijayan
5474eb6bc8 Bug 1135236 - Part 1 - Remove unused ProfileEntry methods. r=BenWa 2015-02-20 17:46:29 -05:00
Tom Tromey
f203579ad0 Bug 1130021 - change ProfileBuffer to use the threadsafe refcount. r=benwa 2015-02-06 10:49:00 +01:00
Shu-yu Guo
20cf051e39 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
372b0a1794 Bug 1130243 Fix build break with MOZ_USE_SYSTRACE enabled, r=benwa 2015-02-09 10:21:44 +08:00
Shu-yu Guo
258060a71f Bug 1127156 - Attach optimization info to frames in profiler. (r=BenWa) 2015-02-04 13:41:04 -08:00
Daniel Holbert
b85d66bddf Bug 1128578: Add MOZ_OVERRIDE annotations in TableTicker.h. r=ehsan 2015-02-02 09:44:32 -08:00
Markus Stange
fc0410340b 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
06e09d2702 Bug 1103915: Output absolute starting time in the captured TaskTracer profile. r=tlee 2014-11-28 17:27:09 +08:00
Leonid V. Fedorenchik
4671745e3b Bug 1110874 - Delete payload passed to PROFILER_MARKER_PAYLOAD. r=kats 2015-01-19 10:01:35 -05:00
Kannan Vijayan
aa3deafde1 Bug 1057082 - 7/7 - Fix tests. r=jandem 2015-01-15 20:11:22 -05:00
Kannan Vijayan
1ff6b9a0c3 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
530c2c1eee Bug 1121591 - Add nsIProfiler.dumpProfileToFile. r=BenWa 2015-01-14 19:05:32 -05:00
Markus Stange
e79454c2cb Bug 1121576 - Profile the compositor thread by default. r=BenWa 2015-01-14 19:05:25 -05:00
Brian Smith
64e6633bea Bug 1119776, Part 7: Avoid defining snprintf when MSVC provides it (other), r=bsmedberg 2015-01-08 22:35:33 -08:00
Wes Kocher
c04baf38bd 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
439160ebef Bug 1057082 - 7/7 - Fix tests. r=jandem 2015-01-14 16:19:14 -05:00
Kannan Vijayan
afbd168541 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
ab55cdde55 Bug 1120126 - Fix crash in RtlVirtualUnwind when starting the Gecko profiler on Win64. r=dmajor. 2015-01-12 17:58:33 -08:00
Masatoshi Kimura
40a556102e Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Chris Peterson
90751d5a6c Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Jim Chen
67f8ab8931 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari
bd52bd3f4e 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
b7b5e21cfd 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
0c5dd70e0a Bug 1118411 - Mark virtual overridden functions as MOZ_OVERRIDE in Gecko Profiler; r=BenWa 2015-01-06 16:30:03 -05:00
Gregory Szorc
7860b372e8 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
3c8383bfb1 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
7453184b35 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
4d46f8645a 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
52d4bc5972 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
b9d0a03471 Bug 1113973 - include <stdarg.h> to get struct va_list definition r=bgirard 2014-12-21 17:38:21 +01:00
Benoit Girard
62f0f1fd3d 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
190d0d9f31 Bug 1111258 - Let the profiler turn on layout.display-list.dump. r=mstange 2014-12-13 15:40:18 -05:00
Benoit Girard
311ed27756 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