Carsten "Tomcat" Book
46ce15b42f
merge mozilla-inbound to mozilla-central a=merge
2017-05-17 11:16:52 +02:00
David Major
6377160adf
Bug 1349801: Allow sub-millisecond profiler intervals with a busy wait on Windows. r=mstange
...
Given that this basically hogs a core per Firefox process, this code only kicks in if you explicitly select a sub-millisecond resolution.
2017-05-16 11:07:28 -04:00
David Major
342f4b3c88
Bug 1349801: Make aMicroseconds unsigned to avoid a bunch of checks. r=mstange
...
We already do a max(0,...) before calling anyway.
2017-05-16 11:06:18 -04:00
David Major
b951e466a8
Bug 1349801: Make SleepMicro a method of SamplerThread. r=mstange
...
So that I can use mIntervalMicroseconds in a later patch.
2017-05-16 11:03:33 -04:00
Carsten "Tomcat" Book
d4006b93b2
merge mozilla-inbound to mozilla-central a=merge
2017-05-16 15:04:38 +02:00
Mike Hommey
8bfbefc1a9
Bug 1363992 - Remove jemalloc 4. r=njn
2017-05-11 13:23:07 +09:00
Nicholas Nethercote
209adb45c8
Bug 1362894 - Make profiler_call_{enter,exit} |inline|. r=mstange.
...
Bug 1359000 moved these functions from GeckoProfiler.h to platform.cpp, which
allowed a lot of follow-up simplifications. But it hurt performance.
This patch moves them back to GeckoProfiler.h and makes them |inline| again.
This required adding a second TLS pointer, sPseudoStack. Comments in the patch
explain why.
2017-05-10 20:13:21 +10:00
Rajesh Kathiriya
5463d0f7f9
bug 1359019 - Added Eslint file for the eslint-plugin-mozilla configs r=standard8
...
MozReview-Commit-ID: 9g9QC6EdJ2a
2017-05-11 23:54:25 +05:30
Kris Maglione
f6271722fc
Bug 1348031: Part 1 - Allow specifying fractional-millisecond startup profiling interval. r=mstange
...
MozReview-Commit-ID: Ga1ebO03gp5
2017-05-15 14:19:12 -07:00
Jan Beich
dcdbb7484a
Bug 1365269 - Unbreak non-GeckoProfiler platforms after bug 1362894. r=njn
...
MozReview-Commit-ID: GzctdvqE3ln
2017-05-16 14:43:27 +00:00
Mark Banner
9a74d8d2c1
Bug 1361976 - ESLint hooks should ensure that the ESLint setup is up to date. r=mossop
...
MozReview-Commit-ID: jhhCM3JRCU
2017-05-16 14:34:58 +01:00
Florian Quèze
e5a39cc4f8
Bug 1353542 - Add an eslint rule deprecating usage of Task.jsm in browser/ and toolkit/, r=Mossop.
2017-05-12 14:54:42 +02:00
Ehsan Akhgari
ee496dbb18
Bug 1362814 - Part 2: Move GeckoProfilerReporter to its own header; r=mstange
...
This allows us to get rid of the nsIMemoryReporter.h inclusion in GeckoProfiler.h.
That brings XPCOM string headers with it.
2017-05-12 02:35:09 -04:00
Ehsan Akhgari
89a84f6dae
Bug 1362814 - Part 1: Remove an unneeded inclusion from GeckoProfiler.h; r=mstange
2017-05-12 02:35:09 -04:00
Mark Banner
44d0568f41
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
...
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Sebastian Hengst
c8bd0b3620
Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout
2017-05-11 10:15:55 +02:00
Mark Banner
dae8146427
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
...
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Markus Stange
3d95a769e4
Bug 1362800 - Add a way to get the profile as an array buffer. r=njn
...
MozReview-Commit-ID: 6qpcm3LQn1r
2017-05-10 17:08:46 -04:00
Wes Kocher
871bb96369
Backed out 2 changesets (bug 1362800) for eslint failures a=backout
...
Backed out changeset 0492e6f16df1 (bug 1362800)
Backed out changeset 785cf0c4b67b (bug 1362800)
MozReview-Commit-ID: EY2RYz7lwtI
2017-05-10 14:42:49 -07:00
Markus Stange
091996bda5
Bug 1362800 - Add a way to get the profile as an array buffer. r=njn
...
MozReview-Commit-ID: 6qpcm3LQn1r
2017-05-10 17:08:46 -04:00
Markus Stange
36bfd512db
Bug 1358583 - Handle NS_DispatchToMainThread failures gracefully. r=njn
...
MozReview-Commit-ID: GP1yC1CL9GA
2017-05-10 17:05:00 -04:00
Mark Hammond
ca34d49b9a
Bug 1361965 - Provide access to a formautofill storage singleton. r=lchang
...
MozReview-Commit-ID: 6IbeuOmONxb
2017-05-04 18:25:46 +10:00
Markus Stange
8939558368
Bug 1363475 - Fix TaskTracer build failure. r=njn
...
MozReview-Commit-ID: 7ENK05KNcGn
2017-05-04 17:26:54 -04:00
Wes Kocher
9400d843cd
Merge m-c to autoland, a=merge
2017-05-09 14:59:18 -07:00
Markus Stange
ee0b9e01f0
Bug 1353349 - Don't attempt to put empty profiles into the processes array. r=froydnj
...
MozReview-Commit-ID: HFjLEaqippx
2017-05-09 15:40:50 -04:00
Carsten "Tomcat" Book
687bb63b46
Merge mozilla-central to mozilla-inbound
2017-05-09 14:40:11 +02:00
Steve Fink
7c0c4ef112
Bug 1322560 - Record minor GC timings in profiles, r=jonco, mccr8, mstange
2017-04-25 13:24:34 -07:00
Steve Fink
ccdbf25343
Bug 1322560 - Inject detailed GC timing info into profiles, r=mstange
2017-05-02 16:13:49 -07:00
Nicholas Nethercote
a6a675932c
Bug 1361009 - Remove MOZ_WIDGET_GONK from the profiler. r=jseward.
...
This removes the need for PROFILER_LIKELY_MEMORY_CONSTRAINED.
The patch also removes PROFILE_JAVA, USE_FAULTY_LIB, CONFIG_CASE_1,
CONFIG_CASE_2 and replaces all their uses with GP_OS_linux or GP_OS_android.
Finally, the patch removes a bogus |defined(GP_OS_darwin)| condition in
platform-linux-lul.cpp.
2017-05-08 07:09:33 +10:00
Sebastian Hengst
fe7cc4ddc6
Backed out changeset aefe9ec739e1 (bug 1362814) for Windows bustage in nsStringFwd.h. r=backout
2017-05-08 00:03:51 +02:00
Ehsan Akhgari
38f1246832
Bug 1362814 - Part 0: Remove an unneeded inclusion from GeckoProfiler.h
2017-05-07 17:17:21 -04:00
Carsten "Tomcat" Book
31f9a8236d
merge mozilla-inbound to mozilla-central a=merge
2017-05-05 15:17:26 +02:00
Nicholas Nethercote
a7e5660c91
Bug 1360471 (part 4) - Use a bitfield to represent profiler features. r=mstange.
...
Currently the profiler mostly uses an array of strings to represent which
features are available and in use. This patch changes the profiler core to use
a uint32_t bitfield, which is a much simpler and faster representation.
(nsProfiler and the profiler add-on still use the array of strings, alas.) The
new ProfilerFeature type defines the values in the bitfield.
One side-effect of this change is that profiler_feature_active() now can be
used to query all features. Previously it was just a subset.
Another side-effect is that profiler_get_available_features() no longer incorrectly
indicates support for Java and stack-walking when they aren't supported. (The
handling of task tracer support is unchanged, because the old code handled it
correctly.)
2017-05-01 14:23:34 +10:00
Nicholas Nethercote
da42e4205e
Bug 1360471 (part 3) - Rename various "thread name filters" identifiers as "filters". r=mstange.
...
The new names are more concise and matches common usage elsewhere (e.g.
profiler_start() arguments).
This patch is similar to bug 1358074 part 5.
2017-05-01 13:42:53 +10:00
Nicholas Nethercote
7ff73e9647
Bug 1360471 (part 2) - Rename profiler_get_features() as profiler_get_available_features(). r=mstange.
...
It clarifies that it's not just the features chosen in profiler_start().
2017-05-01 12:07:17 +10:00
Nicholas Nethercote
021a2e0d19
Bug 1360471 (part 1) - Make nsIProfilerStartParams only usable in C++. r=mstange.
...
The patch also makes the |entries| and |interval| fields readonly, because they
are never changed.
2017-05-01 11:53:18 +10:00
Wes Kocher
2d4208ef39
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: F7qkNALe0WT
2017-05-03 13:52:24 -07:00
Wes Kocher
714b05616e
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
Mark Banner
a69d1f622b
Bug 1360595 - Add a git pre-commit hook for running ESLint. r=mossop
...
MozReview-Commit-ID: 1YJL5Sd4dlb
2017-04-28 12:19:15 +01:00
Mark Banner
fe48e1ebdb
Bug 1360595 - Make the ESLint Mercurial pre-commit hook be run in and pass flake8 validation. r=mossop
...
MozReview-Commit-ID: 1GW59lKpVrI
2017-04-28 12:15:56 +01:00
Jim Chen
026c5d44f3
Bug 1360322 - 3. Only build LUL on supported architectures; r=mstange
...
Only build LUL and its tests on ARM, x86, and x86_64, because only those
architectures are currently supported by LUL.
2017-05-03 11:36:18 -04:00
Jim Chen
d2526fefbe
Bug 1360322 - 2. Add initial AArch64 support to Gecko profiler; r=mstange
...
Add enough AArch64-specific code for the Gecko profiler to build.
2017-05-03 11:36:18 -04:00
Jim Chen
40ee90b3e1
Bug 1360322 - 1. Convert tools/profiler/moz.build to Unix line ending; r=me
2017-05-03 11:36:18 -04:00
Kershaw Chang
62bbf7e471
Bug 1351281 - Remove NetworkPrioritizer.jsm, r=dao
...
Since Necko has already given higher priority to http transactions from the focused window, we don't need NetworkPrioritizer.jsm anymore.
2017-05-03 03:28:00 +02:00
Dan Banner
45d18f9c23
Bug 1359540 - Enable the Mozilla ESlint recommended rules for services/. r=markh
...
MozReview-Commit-ID: D6qH5XtEtHO
2017-04-27 17:24:18 +01:00
Dan Banner
ac1988770e
Bug 1360293 - Enable the Mozilla ESlint recommended rules for tools/. r=jryans
...
MozReview-Commit-ID: JMcgZ9taEV5
2017-05-01 11:38:39 +01:00
Edouard Oger
75b4ce6b59
Bug 1358648 part 3 - Remove Async, Services and XPCOMUtils from util.js. r=markh
...
MozReview-Commit-ID: 8na204K9cXp
2017-05-02 16:57:37 -04:00
Edouard Oger
6fd86d6b51
Bug 1358648 part 2 - Remove util.js Svc.{DefaultPrefs,Session,Idle, FormHistory} and Str. r=markh
...
MozReview-Commit-ID: Jc1th8Snvhv
2017-05-02 18:30:23 -04:00
David Major
3f9cd96dfc
Bug 1360575: Use PR_SetCurrentThreadName to set the sampler thread's name on all platforms. r=mstange
2017-05-01 22:56:47 -04:00
David Major
001a43109f
Bug 1351838: Don't sprintf within the profiler since it may take a lock. r=froydnj
2017-05-01 17:57:12 -04:00