Commit Graph

3702 Commits

Author SHA1 Message Date
Gregory Szorc
4b8238e9dc Bug 1176642 - Defer import of urllib2; r=chmanchester
This prevents 8 module imports from occurring at mach startup time.

As part of this, I discovered a redundant import of "sys" and eliminated
it.

--HG--
extra : commitid : AsZJHdCVbV0
extra : rebase_source : 53b1d5912ba85c7d363d9da21329a6fa65a2bce2
2015-06-25 12:12:15 -07:00
Gregory Szorc
3e949ee8fe Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
Gregory Szorc
a19bee3a08 Bug 1176642 - Remove unused imports; r=glandium
--HG--
extra : commitid : IZ7JkH4GKW4
extra : rebase_source : 4c3301c5c353be8afed407df4a003a9cac4583e8
2015-06-25 12:16:38 -07:00
Eric Rahm
e03df72f86 Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu
--HG--
extra : commitid : 1bt5joaph6U
extra : rebase_source : 6b62511eef626b3ebbe3f7284e555b98d91cf13f
2015-05-28 15:26:52 -07:00
Benoit Girard
59ad1c9d28 Bug 1172186 - Make the profiler build standalone. r=mstange
--HG--
extra : commitid : BTYjbUK8Kkf
extra : rebase_source : 48b78ab373d4019fb42cc39cdc66586da33eb069
2015-06-18 01:05:42 -04:00
Benoit Girard
8d6a67f6d3 Bug 1172216 - Move nsStackwalk to mozglue. r=glandium
--HG--
rename : xpcom/base/nsStackWalk.cpp => mozglue/misc/StackWalk.cpp
rename : xpcom/base/nsStackWalk.h => mozglue/misc/StackWalk.h
extra : commitid : EMbWGfjKvdq
extra : rebase_source : b7308eb569cc1a019d3b7a92aaff0de7a49b5682
2015-06-10 16:32:45 -04:00
Tom Tromey
c924c51529 Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell 2015-06-16 22:28:00 -04:00
Shelly Lin
4eff0a1842 Bug 1113562 - Expected delay time of tasks should not be the latency of those kind. r=sinker
--HG--
extra : rebase_source : b5e012fb6570e87270a0924fbe395dc56e6242ec
2015-06-16 10:57:19 +08:00
Mike Shal
3eccca01aa Bug 1173998 - use localized package for previous mar; r=nthomas 2015-06-15 10:45:17 -04:00
Julian Seward
14bc4ccfab 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
883b7ff2db Bug 1116188 - Add async ProfileGatherer as the mechanism for gathering profiles from subprocesses. r=bgirard,bz
--HG--
extra : commitid : 3ssrVzrWpIy
extra : rebase_source : 5d389ada8f7e4c453c0b7e6a965ee46a7526e06f
2015-06-10 17:58:30 -04:00
Shu-yu Guo
d91cf6d108 Bug 1167895 - Escape JS engine SPS profile strings to UTF8 properly. (r=djvj) 2015-06-11 18:30:39 -07:00
Shu-yu Guo
64b5f2f3be Bug 1172157 - Save malformed profile JSON to file to help debug. (r=BenWa) 2015-06-08 12:21:58 -07:00
Nick Thomas
4fbffd3aca Bug 1160514: Use osslsigncode for 32-bit signing r=ted 2015-06-05 12:05:14 +12:00
Shu-yu Guo
b013423bb8 Bug 1171240 - Avoid copies when splicing inside ProfileJSONWriter. (r=mstange) 2015-06-05 18:43:16 -07:00
Shu-yu Guo
46b5bdccc4 Bug 1171208 - Fix null-terminating chunks in ChunkedJSONWriteFunc. (r=mstange) 2015-06-04 03:22:56 -07:00
Ting-Yu Chou
1d142a2ed6 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
43c1225280 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
486a47562c Bug 1162093 - Add "push-to-try" from version-control-tools to the mercurial setup wizard prompt.;r=gps
--HG--
extra : commitid : KlfgrTg1e8X
2015-06-02 20:41:29 -07:00
Gregory Szorc
06883e5900 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)

--HG--
extra : commitid : CVW0xQNKjt3
extra : rebase_source : 8c5f609b036ac081c1af5f7428bb8d4a4c2ed476
extra : histedit_source : adb57e6fbb5f50af619fb98e1fbb17c815aca76e
2015-05-26 10:07:32 -07:00
Gregory Szorc
9bb66e65f0 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.

--HG--
extra : commitid : 8YtjoVnYauL
extra : rebase_source : 949c27a376226bbd32430047176012b51e891255
extra : histedit_source : aff04954269ed777c9b26ec3f1fda6526b1ae317
2015-05-26 10:00:52 -07:00
Jim Chen
bb60c1781d Bug 1169334 - Fix missing braces in Java thread profile; r=mstange 2015-06-02 16:31:25 -04:00
Eric Rahm
a78fbb7376 Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu 2015-05-28 15:26:52 -07:00
Markus Stange
9980cc4eef Back out bug 1150252 (using pthread_kill for OS X profiling) because of bug 1166778 and bug 1166808. r=djvj
--HG--
extra : rebase_source : e6f27c77062ce365361daa06f145761b7f1f1d07
2015-05-19 14:48:44 -04:00
Shu-yu Guo
3e9695abda Bug 1168265 - Clean up ChunkedJSONWriteFunc. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo
9f94c8fcbf 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
eca2c2d5bb 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
39b3a7865a Bug 1166492 - Remove dead code in the ProfileBuffer and ThreadProfile. (r=mstange) 2015-05-26 22:58:40 -07:00
Shu-yu Guo
c320562635 Bug 1166492 - Handle huge strings in the profile JSON writer. (r=mstange) 2015-05-26 22:58:40 -07:00
Botond Ballo
2e2a504271 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Phil Ringnalda
49dd872168 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
9934d127c1 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Carsten "Tomcat" Book
8d7487c92e Merge mozilla-central to fx-team 2015-05-20 16:10:15 +02:00
Shu-yu Guo
0e509e7010 Bug 1166126 - Increase the size of the tag buffer in the profiler. r=mstange 2015-05-18 20:57:00 -04:00
JerryShih
61d50cc4ae Bug 1164785 - Append line number to systrace scopedTrace object name. r=BenWa 2015-05-14 01:41:00 -04:00
Jim Chen
dc596951dd Bug 1163135 - Make it safer to start the profiler via signal; r=snorp 2015-05-19 11:27:18 -04:00
Ed Morley
7f51884ce9 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
18e0893b16 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
4d9db7cba1 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)

--HG--
extra : commitid : AyMDr4OieQg
extra : amend_source : fba8a857e6f2a5044955d027620af36a847942d1
2015-05-12 20:21:47 -07:00
Shu-yu Guo
2ad192eabb 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
3390ef56f7 Bug 1154115 - Rewrite profiler JSON streaming. (r=mstange) 2015-05-11 14:16:44 -07:00
Jordan Santell
7b6fec2d8c Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
Gregory Szorc
744bbc11a4 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.

--HG--
extra : rebase_source : 750ba02c02fd4a9fab42ccf128eab4f5e7741564
extra : amend_source : 8fb84c0ed5cd14dd27ad6cd7b78fb2ac1ffc87a2
2015-04-27 10:43:49 -07:00
Carsten "Tomcat" Book
596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Shu-yu Guo
522b073d05 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
fd79d51b74 Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange) 2015-04-25 15:55:56 -07:00
Tooru Fujisawa
87225c43b9 Backed out changeset 5468f1f83ca8 (bug 1145824) for mochitest-other failure 2015-04-25 13:50:27 +09:00
Tooru Fujisawa
6081421830 Backed out changeset a913dca49e73 (bug 1145824) for mochitest-other failure 2015-04-25 13:50:25 +09:00
Tooru Fujisawa
da97f25d34 Backed out changeset 9bd76ec482d2 (bug 1145824) for mochitest-other failure 2015-04-25 14:12:25 +09:00
Tooru Fujisawa
ddb1bdaf8e Backed out changeset 09b28ebb2216 (bug 1145824) for mochitest-other failure 2015-04-25 14:12:23 +09:00