Commit Graph

77 Commits

Author SHA1 Message Date
alwu
e6de446ea2 Bug 1785738 - part1 : add new type of utility process. r=bobowen,gerard-majax,fluent-reviewers,flod
Create a new type of utility process which would be used for media
foundation media engine CDM usage. The media engine is a media pipeline
provided by the Windows Media Foundation, and our final goal is to use
that pipeline to play encrypted content in order to achieve Widevine L1
protection to allow users to watch high resolution videos.

Differential Revision: https://phabricator.services.mozilla.com/D154033
2022-09-03 00:53:58 +00:00
Alexandre Lissy
2e393abafe Bug 1780796 - Use one process per platform decoder module sandbox requirements r=alwu,nika,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D152545
2022-09-01 12:59:32 +00:00
Nika Layzell
dfcd7ebf57 Bug 1783282 - Use a custom attribute instead of derive for implementing xpcom interfaces in rust, r=xpcom-reviewers,necko-reviewers,dragana,barret
Differential Revision: https://phabricator.services.mozilla.com/D153801
2022-08-18 13:57:35 +00:00
Mark Banner
93c97da63c Bug 1782192 - Fix ESLint no-unused-vars warnings in xpcshell-tests for toolkit. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D153164
2022-07-29 21:54:32 +00:00
George Koehler
6122c48fc3 Bug 1772090 - implement about:processes on OpenBSD r=glandium,jld,gerald
Differential Revision: https://phabricator.services.mozilla.com/D150338
2022-07-28 07:14:28 +00:00
Tooru Fujisawa
48c568867c Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Florian Quèze
2cbf442762 Bug 1769255 - record the battery percentrage for each active tick, r=chutten,smaug.
Differential Revision: https://phabricator.services.mozilla.com/D146319
2022-05-15 21:52:03 +00:00
Chris H-C
6f10ed9034 Bug 1763235 - Update metrics.yamls to file-level tags, new front matter r=perry.mcmanis,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D145141
2022-05-04 14:16:19 +00:00
Florian Quèze
581794e9d6 Bug 1763474 - Report thread wake-ups and CPU time per thread through glean, r=gerald,chutten
Differential Revision: https://phabricator.services.mozilla.com/D141147
2022-04-23 11:38:19 +00:00
Marian-Vasile Laza
2a03720462 Backed out changeset 700318695e2b (bug 1763474) for causing GTest failures and mochitest failures on ProfilerThreadRegistrationData.cpp. CLOSED TREE 2022-04-22 12:57:22 +03:00
Florian Quèze
5319124792 Bug 1763474 - Report thread wake-ups and CPU time per thread through glean, r=gerald,chutten
Differential Revision: https://phabricator.services.mozilla.com/D141147
2022-04-22 06:20:51 +00:00
Narcis Beleuzu
b58b937696 Backed out 1 changesets (bug 1763474) for assertion failures. CLOSED TREE
Backed out changeset 576565c650a1 (bug 1763474)
2022-04-15 02:26:13 +03:00
Florian Quèze
88dcf0625d Bug 1763474 - Report thread wake-ups and CPU time per thread through glean, r=gerald,chutten
Differential Revision: https://phabricator.services.mozilla.com/D141147
2022-04-14 22:08:53 +00:00
Alexandre Lissy
502fda1721 Bug 1761054 - Add Utility Processes with proper classification in about:processes r=nika,fluent-reviewers,flod,florian
Differential Revision: https://phabricator.services.mozilla.com/D141881
2022-04-14 16:22:21 +00:00
Florian Quèze
3f7114a09f Bug 1759535 - Report thread wake-ups through glean, r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D141050
2022-03-28 22:13:09 +00:00
Florian Queze
4f4b26026c Bug 1759443 - Make GetProcInfo call NtQuerySystemInformation directly instead of using the high-overhead CreateToolhelp32Snapshot wrapper, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D140952
2022-03-15 18:15:50 +00:00
Chris Peterson
35b24a43cd Bug 1598759 - Remove support for Large-Allocation HTTP header. r=nika,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D140459
2022-03-09 03:18:04 +00:00
Florian Quèze
c788ee27ec Bug 1755733 - record when bogus CPU or GPU time values are discarded, r=chutten.
Depends on D138917

Differential Revision: https://phabricator.services.mozilla.com/D139287
2022-02-22 23:27:39 +00:00
Florian Quèze
d2c425a793 Bug 1755055 - Record CPU time inside Awake profiler markers, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D138568
2022-02-17 09:38:28 +00:00
Florian Quèze
84c687b197 Bug 1754012 - Make browser_test_procinfo.js check more thoroughly the cpuTime values, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D138043
2022-02-16 09:56:34 +00:00
Florian Quèze
26eee2211b Bug 1754012 - Make browser_test_procinfo.js check the cpuTime field instead of the old cpuUser field, r=gerald.
Depends on D138041

Differential Revision: https://phabricator.services.mozilla.com/D138042
2022-02-16 09:56:34 +00:00
Alexandre Lissy
87faac1f84 Bug 1753758 - Add a crash method to ProcessToolsService r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D137907
2022-02-09 22:07:33 +00:00
criss
e345f72ff8 Backed out 3 changesets (bug 1754015, bug 1754012) for causing failures on test_nsIX509CertValidity.js. CLOSED TREE
Backed out changeset 6928edee3bbc (bug 1754012)
Backed out changeset 6792032bd169 (bug 1754012)
Backed out changeset 8f11731d9aee (bug 1754015)
2022-02-08 13:42:46 +02:00
Florian Quèze
b4a3391c73 Bug 1754012 - Make browser_test_procinfo.js check more thoroughly the cpuTime values, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D138043
2022-02-08 10:35:51 +00:00
Florian Quèze
0ba780d19d Bug 1754012 - Make browser_test_procinfo.js check the cpuTime field instead of the old cpuUser field, r=gerald.
Depends on D138041

Differential Revision: https://phabricator.services.mozilla.com/D138042
2022-02-08 10:35:50 +00:00
Florian Quèze
e0cc6b28f7 Bug 1753572 - Fix rounding of preallocated process CPU times in browser_test_powerMetrics.js, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D137933
2022-02-07 14:47:20 +00:00
Florian Quèze
c61b811f78 Bug 1747138 - Breakdown CPU and GPU time by process type, r=chutten,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D134441
2022-02-03 20:37:21 +00:00
smolnar
c3e516dd0e Backed out changeset cd96e020a609 (bug 1747138) for causing bc failures in browser_telemetry_video_hardware_decoding_support. CLOSED TREE 2022-02-03 19:51:02 +02:00
Florian Quèze
f31dc8192a Bug 1747138 - Breakdown CPU and GPU time by process type, r=chutten,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D134441
2022-02-03 12:20:15 +00:00
Florian Quèze
405cb98694 Bug 1753310 - Fix process CPU times reported by about:processes, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D137698
2022-02-03 11:11:12 +00:00
Alexandre Lissy
2adbe7bd4c Bug 1749606 - Allow clock_gettime() for same-process r=jld,gerald
This is used by the new code from the profiler that is able to detect
unregistered threads. Blocking it will make child-process hit sandbox
violation.

Differential Revision: https://phabricator.services.mozilla.com/D135648
2022-01-21 23:03:26 +00:00
William Lachance
e52fe70191 Bug 1746941 - Add tags to all Firefox-on-Glean metrics r=janerik
Based on our experience with Firefox for Android, annotating Glean metrics
with issue tracker component information can provide valuable context to
anyone searching for metrics.

This adds a new set of tags corresponding to the components in the
tree, annotates the existing Glean metrics. Finally, it also adds a new
mach command called `update-glean-tags` to update the tags files based
on build metadata.

Differential Revision: https://phabricator.services.mozilla.com/D134332
2022-01-14 18:11:08 +00:00
Sandor Molnar
22d98c8bb4 Backed out changeset c0de94959204 (bug 1746941) for causing pythong unit test failures. CLOSED TREE 2022-01-14 18:59:04 +02:00
William Lachance
3b8109f402 Bug 1746941 - Add tags to all Firefox-on-Glean metrics r=janerik
Based on our experience with Firefox for Android, annotating Glean metrics
with issue tracker component information can provide valuable context to
anyone searching for metrics.

This adds a new set of tags corresponding to the components in the
tree, annotates the existing Glean metrics. Finally, it also adds a new
mach command called `update-glean-tags` to update the tags files based
on build metadata.

Differential Revision: https://phabricator.services.mozilla.com/D134332
2022-01-14 16:43:08 +00:00
Kershaw Chang
6996daa060 Bug 1741425 - Enable more xpcshell tests with socket process, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D134484
2022-01-11 09:50:14 +00:00
Florian Quèze
8a7e3d36a6 Bug 1748627 - Mirror the power.total_{cpu,gpu}_time_ms Glean probes in Telemetry, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D135379
2022-01-07 18:34:43 +00:00
Chris H-C
f8221e26d1 Bug 1715542 - Give Glean and GleanPings a BackstagePass r=janerik,application-update-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D131824
2021-12-14 20:51:03 +00:00
Chris H-C
9dccd345c0 Bug 1742133 - Expose FOG service as Services.fog and convert uses r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D132742
2021-12-08 21:18:19 +00:00
Florian Quèze
753c4076c4 Bug 1744264 - Improve the precision of CPU data shown on about:processes on Linux, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D132804
2021-12-07 10:41:07 +00:00
criss
1c0c4c053e Backed out changeset 2f350df166e2 (bug 1744264) for causing bustages on ProcInfo_linux.cpp. CLOSED TREE 2021-12-07 10:59:30 +02:00
Florian Quèze
2ceb09f034 Bug 1744264 - Improve the precision of CPU data shown on about:processes on Linux, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D132804
2021-12-07 07:48:27 +00:00
Gerald Squelart
83df24cf25 Bug 1741690 - Expose GetCycleTimeFrequencyMHz() - r=florian
- Renamed GetCycleTimeFrequency to GetCycleTimeFrequencyMHz, to make the unit more obvious at call sites.
- Made call thread-safe, by initializing a function-static variable using an immediately-invoked lambda.
- Made function public in ProcInfo.h.
- Implemented function on non-Windows platforms, they always return 0 -- These could be changed if we eventually get access to cycle counts there.

Differential Revision: https://phabricator.services.mozilla.com/D132764
2021-12-06 23:36:33 +00:00
Gerald Squelart
54e4b629c8 Bug 1742522 - New ProcInfo_common.cpp contains the now-common function GetProcInfo - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D132317
2021-12-02 08:52:39 +00:00
Gerald Squelart
a2381e0556 Bug 1742522 - Synchronous version of GetProcInfo - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D132212
2021-12-02 08:52:39 +00:00
Florian Quèze
b19b299166 Bug 1743176 - Collect the GPU time used in the parent process through Glean, r=chutten,jrmuizel.
Differential Revision: https://phabricator.services.mozilla.com/D132265
2021-11-30 21:07:28 +00:00
Florian Queze
472896de66 Bug 1742662 - Remove unused 'filename' field in the ChromeUtils.requestProcInfo results, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D131952
2021-11-24 10:46:46 +00:00
Florian Queze
af99bf0afa Bug 1742472 - Use the CPU values from QueryProcessCycleTime and QueryThreadCycleTime for about:processes, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D131836
2021-11-24 10:46:45 +00:00
Florian Queze
ecb0559c33 Bug 1742472 - Merge cpuKernel and cpuUser fields into cpuTime in the ChromeUtils.requestProcInfo results, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D131835
2021-11-24 10:46:45 +00:00
Florian Queze
788093cad8 Bug 1742472 - Use QueryProcessCycleTime on Windows to report total CPU time spent when the CPU has a constant TSC, r=gerald,jrmuizel.
Differential Revision: https://phabricator.services.mozilla.com/D131834
2021-11-24 10:46:45 +00:00
Chris H-C
cf1dbf4350 Bug 1741674 - Advise in each metrics.yaml that we have docs for adding metrics r=TravisLong,nalexander
Depends on D131639

Differential Revision: https://phabricator.services.mozilla.com/D131640
2021-11-22 20:07:38 +00:00