Commit Graph

14 Commits

Author SHA1 Message Date
Doug Thayer
9ca534b98d Bug 1362786 - (3) Run CppFiltParser in worker r=kmag
Pulls out the CppFiltParser work into a worker to run in the
background and avoid the jank induced by the final
convertSymsMapToExpectedSymFormat call.

Profiling shows that after this change there is virtually no
jank when asking the geckoProfiler API for symbols.

MozReview-Commit-ID: CAKMvjLa4dl
2017-07-21 14:13:37 -07:00
Doug Thayer
72f38fe98d Bug 1362786 - (2) Run NMParser in worker r=kmag
Pulls out the NMParser work (parsing nm results and turning
them into an ArrayBuffer'd map of addresses to symbols) into
a worker.

For OSX we will still need to do some work to run c++filt in the
background, but this gets us most of the way there. Without a
Subprocess.jsm usable from a worker, we'll have to bounce data
back to the main thread in order to bounce it to the c++filt
worker.

MozReview-Commit-ID: LZi7J1qGpmh
2017-07-21 14:14:17 -07:00
Andrew Swan
3d501bbfd5 Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
MozReview-Commit-ID: 7nsYWdSTJCG
2017-06-09 13:49:07 -07:00
Sebastian Hengst
8642712c2a Backed out changeset 26fd6d0a1254 (bug 1369577) for failing xpcshell's test_ext_simple.js and test_ext_startup_cache.js on Android. r=backout 2017-06-30 01:01:13 +02:00
Andrew Swan
c140bd9d12 Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
MozReview-Commit-ID: 7nsYWdSTJCG
2017-06-09 13:49:07 -07:00
Bob Silverberg
0ae12dfd8e Bug 1374237 - Part 3: Declare all top-level functions in browser API files files via const., r=mixedpuppy
Also changed some function names to attempt to guarantee uniqueness across API files.

MozReview-Commit-ID: FU5JU1lRHzn
2017-06-21 16:13:00 -04:00
Mark Banner
9916415caf Bug 1371292 - Clean up more ESLint global definitions in configuration files in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 5KC23kzaCFN
2017-06-08 10:59:12 +01:00
Markus Stange
ee5fa46e90 Bug 1362800 - Expose geckoProfiler.getProfileAsArrayBuffer. r=kmag
MozReview-Commit-ID: 7uFPWAhh25L
2017-05-11 00:32: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
5c68ac2882 Bug 1362800 - Expose geckoProfiler.getProfileAsArrayBuffer. r=kmag
MozReview-Commit-ID: 7uFPWAhh25L
2017-05-10 17:09:51 -04:00
Markus Stange
abfa01b37b Bug 1362861 - Pass the correct arch to nm on macOS. r=dthayer,kmag
MozReview-Commit-ID: C8vfSUu8dM8
2017-05-09 14:47:17 -04:00
Iris Hsiao
360fb2864b Backed out changeset 7cbae2bf514b (bug 1362861) for mochitest bc test time out at browser_ext_geckoProfiler_symbolicate.js 2017-05-08 09:44:04 +08:00
Markus Stange
526ada7efb Bug 1362861 - Pass the correct arch to nm on macOS. r=kmag
MozReview-Commit-ID: C8vfSUu8dM8
2017-05-07 11:30:01 -04:00
Doug Thayer
c8eb3cc7f1 Bug 1326572 - Provide an API for nsIProfiler r=kmag,mstange
In order to rewrite the Gecko Profiler add-on as a WebExtension,
we need an API for the profiler which allows us to control the
nsIProfiler, and symbolicate the stacks that it provides. This
is the implementation of the simpler parts of that API.

TODO:
- Support profiling of remote targets through a new devtools
  API.
- Support the dump_syms breakpad code which was asm.js in the
  old extension by directly calling into native code.
- Figure out a faster way to send the large volume of data from
  getSymbols all the way from our extension down to the content
  process and then into the page's context.

MozReview-Commit-ID: JzDbV4l2eXd
2017-04-11 09:03:40 -07:00