Commit Graph

1691 Commits

Author SHA1 Message Date
Nicholas Nethercote
2cbfe95103 Bug 1203811 - Clarify two error messages in tools/power/rapl. r=heycam. 2015-09-10 23:12:31 -07:00
Nicholas Nethercote
9d86749340 Bug 1203834 - Fix's rapl's handling of unsupported power domains. r=glandium.
The "gpu" and "ram" domains aren't supported by all platforms. rapl has a
special constant |kUnsupported_j| to represent this on Linux, but I
accidentally have a minus sign in front of it in several places, which means
that instead of printing "n/a" for unsupported planes we always print "1.0".

I think this happened because I used to hardwire -1 in there and then I later
changed it to a constant but forgot to remove the minus signs.

It sure would be nice to have automated testing for this stuff, but I don't see
how to do it.
2015-09-10 23:12:20 -07:00
Julien Pagès
a112137856 Bug 1200293 - mach target for mozregression. r=ahal 2015-09-05 18:27:23 +02:00
Wes Kocher
c31674018e Backed out changeset e1833c2684f0 (bug 1079858) for windows xpcshell failures CLOSED TREE 2015-09-08 12:58:03 -07:00
Ben Hearsum
8c06fb79f0 bug 1079858: switch to SHA-2 authenticode signatures. r=catlee 2015-09-08 10:44:17 -04:00
Nicholas Nethercote
40f990efe4 Bug 1201811 (part 2) - Don't print distribution stats if there was only 1 sample. r=erahm. 2015-09-04 01:45:13 -07:00
Nicholas Nethercote
03f39cb4d5 Bug 1201811 (part 1) - Don't use integer arithmetic when summing totals in rapl. r=erahm. 2015-09-04 01:04:46 -07:00
Chris Peterson
2ea092908d Bug 1200450 - Add libffi, dtoa, openaes, and android/thirdparty to ThirdPartyPaths.txt. r=ehsan 2015-08-31 12:00:35 -07:00
Gregory Szorc
886bd2a94b Bug 1195445 - Update host key fingerprint for bugzilla.mozilla.org
The certificate was updated to a SHA-2 certificate.

DONTBUILD (NPOTB)
2015-09-01 17:52:46 -07:00
Xidorn Quan
a00d5ba2f9 Bug 1200458 - Skip permission check for .hgrc on Windows in hgsetup wizard. r=gps DONTBUILD 2015-09-01 10:22:45 +10:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Nicholas Nethercote
385ef91694 Bug 1198334 (part 0) - Tighten up warnings-as-errors usage in tools/power/. r=glandium. 2015-08-27 20:40:44 -07:00
Benoit Girard
b95014ac38 Bug 1122721 - Don't call pthread_get_stackaddr_np during sampling. r=mstange 2015-08-25 18:03:32 -04:00
Nicholas Nethercote
b8656cc2a8 Bug 1198137 (follow-up) - Add a missing #include to unbreak Mac OS builds on a CLOSED TREE. r=me 2015-08-26 11:48:08 +10:00
Nicholas Nethercote
47d134b803 Bug 1198137 - Add some summary stats to tool/power/rapl's output. r=erahm.
"mean" is most useful, then "min" and "max". The rest are moderately useful.
2015-08-25 18:11:03 -07:00
Jim Chen
d1b28b092f Bug 1196845 - Fix invalid JSON in saved Java thread profile; r=BenWa
Saved Java thread profiles are missing a pair of braces. As a result,
the output is invalid JSON.
2015-08-25 14:52:16 -04:00
Kan-Ru Chen
fe951a0c6a Backed out 8 changesets (bug 1123237) CLOSED TREE
Backed out changeset 64692c772052 (bug 1123237)
Backed out changeset ed0f3a0186ad (bug 1123237)
Backed out changeset 2ad3b7f12a66 (bug 1123237)
Backed out changeset d069c69c234b (bug 1123237)
Backed out changeset d2c543173155 (bug 1123237)
Backed out changeset 3b8fb02e68ff (bug 1123237)
Backed out changeset 1c97e19f2f5d (bug 1123237)
Backed out changeset a80502c372f1 (bug 1123237)
2015-08-25 12:42:01 +08:00
Kan-Ru Chen
a47647131d Bug 1123237 - Part 8. Tracking the memory events. r=BenWa,terrence
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:10:34 +08:00
Kan-Ru Chen
c68e2dc6d3 Bug 1123237 - Part 7. XPCOM interface for memory profiler. r=smaug
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:06:43 +08:00
Kan-Ru Chen
3b13fdd60b Bug 1123237 - Part 6. A new API to get backtrace without allocating memory in profiler. r=mstange
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:06:42 +08:00
Nicholas Nethercote
6e21839f90 Bug 1197694 - fflush() rapl output so it always appears immediately. r=erahm. 2015-08-24 15:59:37 -07:00
Birunthan Mohanathas
ab28403e15 Bug 1197527 - Consolidate obtaining hg path into mozversioncontrol.get_hg_path; r=gps
DONTBUILD
2015-08-24 14:37:42 -04:00
Birunthan Mohanathas
d5f3c6e8be Bug 1197527 - Always clone version-control-tools in MercurialSetupWizard; r=gps 2015-08-24 10:31:55 -07:00
Birunthan Mohanathas
de5fd4f269 Bug 1197527 - Don't unnecessarily attempt to create extensions directory in MercurialUpdater; r=gps 2015-08-22 13:50:05 -07:00
Nicholas Nethercote
f479b7c67f Bug 1194560 (follow-up) - Only build rapl on Linux if the arch is x86 or x86-64. r=glandium. 2015-08-20 17:02:18 -07:00
Aidin Gharibnavaz
84f8bd04fe Bug 1190466 - tools/rb/find-leakers.pl re-written in Python r=mccr8 2015-08-20 14:18:20 -07:00
Nicholas Nethercote
07b8f950fc Bug 1194560 - Add tools/power/rapl, a RAPL-reading program for power profiling. r=erahm,glandium. 2015-08-19 22:25:30 -07:00
Rail Aliiev
603c324334 Bug 1173459 - Stop generating partial MAR files and publishing complete MARs to balrog as a part of nightly automation. r=mshal 2015-08-12 09:49:03 -04:00
Birunthan Mohanathas
a44818609c Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
88ff16fb47 Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj 2015-08-11 08:29:46 -07:00
Ehsan Akhgari
d599f29991 Bug 1189465 - Make LULStats constructor explicit; r=BenWa 2015-07-30 20:31:08 -04:00
Brian Smith
21ecced3b5 Bug 1188931 - Fix hgsetup wizard. r=gps 2015-07-29 13:59:18 -04:00
Carsten "Tomcat" Book
58eb1939e7 Merge mozilla-central to mozilla-inbound 2015-07-28 16:30:58 +02:00
Gregory Szorc
1805842782 Bug 1184229 - Detect multiple version-control-tools repos in Mercurial config; r=smacleod
Having multiple version-control-tools repositories references in your
hgrc could lead to one repository importing code from another, depending
on how sys.path modification works from version-control-tools
repositories. Detect it and issue a warning.
2015-07-27 13:44:39 -07:00
Peter Elmers
cc3ef87796 Bug 1186896 - Fix import statements for mach update-uuids. r=gps 2015-07-23 08:00:02 -07:00
Wes Kocher
68e284c50a Merge fx-team to central, a=merge 2015-07-21 16:08:37 -07:00
Gregory Szorc
a09073acc8 Bug 1185557 - Print relevant config options; r=smacleod
Users may want to know what the wizard is changing before they answer
prompts. Add the names of impacted config options to messages so people
can make more informed decisions.
2015-07-21 10:11:09 -07:00
Gregory Szorc
35dc273150 Bug 1185557 - Prompt about bzexport after reviewboard; r=smacleod
We want to encourage people to use reviewboard over bzexport.
2015-07-21 10:10:54 -07:00
Gregory Szorc
b5b801483b Bug 1185557 - Only prompt to install progress on Mercurial <3.5; r=smacleod
Progress is enabled by default in Mercurial 3.5. extensions.progress
no-ops. Don't prompt for it on newer Mercurial versions.
2015-07-21 10:10:38 -07:00
Gregory Szorc
60d375e820 Bug 1185562 - Print message saying the mercurial-setup failures unblock mach; r=smacleod
The messaging on this could be bikeshedded. Something is better than
nothing, that's for sure.
2015-07-21 10:09:49 -07:00
Gregory Szorc
e1c7d16584 Bug 1185112 - Don't prompt for Bugzilla username/password if cookies defined; r=smacleod
Before, we prompted for Bugzila username/password if the hgrc contained
credentials in cookie form. Don't do that.
2015-07-21 10:09:15 -07:00
Gregory Szorc
cf969c244a Bug 1185113 - Support setting more secure file permissions; r=smacleod
~/.hgrc files are likely created with the user's default umask, which
commonly gives default permissions of 644. If the hgrc config contains
sensitive information (such as Bugzilla credentials), these file
permissions could result in others stealing sensitive data.

Detect when the group and other file mode bits are set and prompt to
remove these permissions.
2015-07-21 10:08:24 -07:00
Gregory Szorc
8f5ea236ec Bug 1185113 - Clarify language around Bugzilla credentials; r=smacleod
Bugzilla credentials are optional. Make this more obvious by adding
"optional" to the prompt.

Bugzilla credentials are stored in plain text. Explicitly call this out
in the help text so users can make informed decisions about whether to
capture the credentials.
2015-07-21 10:08:02 -07:00
Mike Conley
249b2a2628 Bug 1185737 - Propagate pause and resume commands to child processes. r=BenWa
When we pause the sampler in the parent, we should pause it in the child as well.
Similarly, when the parent resumes, the child should also resume.
2015-07-15 12:39:39 -04:00
Gregory Szorc
380cbdaf6c Bug 1178955 - Print line number for parse errors; r=smacleod
It helps users debug problems.
2015-07-17 10:29:22 -07:00
Gregory Szorc
75cfbcb49b Bug 1178955 - Error when semicolon comments are seen; r=smacleod
configobj doesn't support semicolon comments. Why, I don't know, since
they are pretty common in ini files.

Do a static check for semicolon comments and print a more actionable
error message.
2015-07-17 10:29:09 -07:00
Gregory Szorc
589d2bf59a Bug 1178955 - Print config path on failure; r=smacleod
Actionable error messages are useful.
2015-07-17 10:28:55 -07:00
Gregory Szorc
e53331d9f9 Bug 1178955 - Refactor config path selection; r=smacleod
An upcoming commit will display the path of the config file in the error
message. In order to do this, the calling scope needs to know the path
to the config file.
2015-07-17 10:28:29 -07:00
Gregory Szorc
75641bc155 Bug 1178955 - Don't pass config paths to updater; r=smacleod
They aren't needed.
2015-07-17 10:28:12 -07:00
Gregory Szorc
a08b021e8e Bug 1183982 - Ensure state directory exists before touching state file; a=me
The creation of the directory used to be handled by the running of the
wizard. Now, since we touch the state file first, we need to create the
directory manually. Derp.
2015-07-15 00:42:03 -07:00