Paul Adenot
d08316d1d4
Bug 2022540 - Add colors to profiler markers, improve log level display, add a category and separate by log module. r=dcarver,profiler-reviewers
...
The log marker payload field for the message text is named "message" rather
than "name". The front-end searches payload fields using their key as the
field-specific filter, so a field named "name" would be matched by "name:"
searches alongside marker.name (the log module name). Keeping the two distinct
avoids ambiguity: "name:" searches match the module name only, while
"message:" searches the log text.
Differential Revision: https://phabricator.services.mozilla.com/D287122
2026-03-27 11:54:45 +00:00
Jens Stutte
c198b86a1a
Bug 2025942 - Fix off-by-one in a LogModuleManager::PrintFmt check. r=xpcom-reviewers,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D290099
2026-03-26 17:34:30 +00:00
rperta
84e37eb9db
Revert "Bug 2022540 - Add colors to profiler markers, improve log level display, add a category and separate by log module. r=dcarver,profiler-reviewers" for causing xpc failures at test_logFromPreference.js
...
This reverts commit 869ae03f5c .
2026-03-20 15:01:43 +00:00
Paul Adenot
869ae03f5c
Bug 2022540 - Add colors to profiler markers, improve log level display, add a category and separate by log module. r=dcarver,profiler-reviewers
...
The log marker payload field for the message text is named "message" rather
than "name". The front-end searches payload fields using their key as the
field-specific filter, so a field named "name" would be matched by "name:"
searches alongside marker.name (the log module name). Keeping the two distinct
avoids ambiguity: "name:" searches match the module name only, while
"message:" searches the log text.
Differential Revision: https://phabricator.services.mozilla.com/D287122
2026-03-20 13:39:21 +00:00
Sylvestre Ledru
6149f49299
Bug 2023419 - Remove Emacs/Vim modelines from xpcom/ r=emilio
...
replaced by .editorconfig
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D287878
2026-03-16 17:22:07 +00:00
Cristian Tuns
e39922e635
Revert "Bug 2022540 - Add colors to profiler markers, improve log level display, add a category and separate by log module. r=dcarver,profiler-reviewers" for causing gtest failures in GeckoProfiler.Markers
...
This reverts commit 62c1ad5e7d .
2026-03-13 20:06:18 +00:00
Paul Adenot
62c1ad5e7d
Bug 2022540 - Add colors to profiler markers, improve log level display, add a category and separate by log module. r=dcarver,profiler-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D287122
2026-03-13 18:39:13 +00:00
Damien Carver
d4d96c1939
Bug 1979356 - Remove the "searchable" flag from marker schema fields r=necko-reviewers,profiler-reviewers,toolkit-telemetry-reviewers,canaltinova,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D281769
2026-02-06 14:49:32 +00:00
Alexandre Poirot
e4c7ba4b1b
Bug 1923985 - Prevent logging stacks from console messages logged via MOZ_LOG. r=Standard8
...
These logs can be very noisy if you are logging raw data to stdout.
Differential Revision: https://phabricator.services.mozilla.com/D280069
2026-02-06 10:55:47 +00:00
Olli Pettay
6cbecf227b
Bug 1995503 - Include the logging level in MOZ_LOG profiler markers (take 2), r=padenot,canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D269348
2026-01-06 12:54:06 +00:00
Nazım Can Altınova
9469d2d919
Bug 1980588 - Add PayloadFlags to the old and Rust marker API r=mstange,profiler-reviewers
...
This changes a lot of places, but it's essentially just find and
replace. We had to change this old marker API, because the new API
uses this one to serialize the marker schema fields.
This patch removes the AddKey{Label,}FormatSearchable methods and
switches to use the original AddKey{Label,}Format methods with an
optional parameter instead to make sure that we can pass multiple flags
instead of just Searchable.
For Rust, since we can't have default argument values, we had to create
a new method for them.
Differential Revision: https://phabricator.services.mozilla.com/D260465
2025-08-27 22:02:38 +00:00
alwu
13e4579e87
Bug 1914388 - part1 : revert changes from D209249 in order to remove the support of 'logging.config.modules'. r=julienw
...
Differential Revision: https://phabricator.services.mozilla.com/D251739
2025-06-04 16:48:05 +00:00
Jan-Niklas Jaeschke
2d08859883
Bug 1948614 - Fix off-by-one error in fmt logging. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D238426
2025-02-17 14:51:50 +00:00
Michael van Straten
bff32e6132
Bug 1923143 part 3 - Add a OpenTelemetry C++ based tracing component r=jari,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D224914
2025-01-29 12:08:22 +00:00
Alexandru Marc
f90439f811
Backed out 3 changesets (bug 1923143) for causing hazard bustages
...
Backed out changeset 7510845c07da (bug 1923143)
Backed out changeset 45e612b7d4b6 (bug 1923143)
Backed out changeset fb3772f8a616 (bug 1923143)
2024-12-16 16:50:13 +02:00
Michael van Straten
6e501f6c8b
Bug 1923143 part 3 - Add a OpenTelemetry C++ based tracing component r=jari,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D224914
2024-12-16 07:22:34 +00:00
Randell Jesup
c0245e3dc3
Bug 1924821: increase default log module array count r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D226209
2024-10-23 16:21:40 +00:00
Paul Adenot
479bf162ce
Bug 1717448 - Teach MOZ_LOG to use {fmt}. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D216966
2024-10-21 12:54:55 +00:00
Tamas Szentpeteri
4a6837fecc
Backed out 13 changesets (bug 1717448) for causing gtest failures on iofwrite.c
...
Backed out changeset 4254666ea8a7 (bug 1717448)
Backed out changeset 41c8a260d55b (bug 1717448)
Backed out changeset 670256c85479 (bug 1717448)
Backed out changeset 37ab78b00a4f (bug 1717448)
Backed out changeset 5e5b42a7cde1 (bug 1717448)
Backed out changeset 8295836348fb (bug 1717448)
Backed out changeset aebf794911ca (bug 1717448)
Backed out changeset 4381f24f8495 (bug 1717448)
Backed out changeset f0ca736c051b (bug 1717448)
Backed out changeset 993a64fd729a (bug 1717448)
Backed out changeset 2e17fb168eaf (bug 1717448)
Backed out changeset 47ed151719a4 (bug 1717448)
Backed out changeset adef9b3b6231 (bug 1717448)
2024-10-18 20:03:47 +03:00
Paul Adenot
ff37c43d33
Bug 1717448 - Teach MOZ_LOG to use {fmt}. r=glandium,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D216966
2024-10-18 11:35:32 +00:00
Matthew Gaudet
fbbed4f359
Bug 1904429 - Extract some core logging types into their own header file r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D217873
2024-08-23 15:52:45 +00:00
Iulian Moraru
890273720e
Backed out 5 changesets (bug 1904429) for causing ThreadSanitizer linux tsan failures.
...
Backed out changeset 787f23230ebd (bug 1904429)
Backed out changeset 81e85421af01 (bug 1904429)
Backed out changeset 9bf9011b0736 (bug 1904429)
Backed out changeset a59511524bc7 (bug 1904429)
Backed out changeset e74a80333551 (bug 1904429)
2024-08-22 23:57:12 +03:00
Matthew Gaudet
876cc70614
Bug 1904429 - Extract some core logging types into their own header file r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D217873
2024-08-22 17:05:59 +00:00
Julien Wajsberg
c4488f6ae4
Bug 1894703 - Set logging modules from a single preference r=padenot
...
This uses a new preference logging.config.modules. When the user sets a
MOZ_LOG string to this preference, it's parsed the same way and the
corresponding modules are enabled.
Differential Revision: https://phabricator.services.mozilla.com/D209249
2024-05-23 08:14:16 +00:00
Tamas Szentpeteri
34353a7a45
Backed out 3 changesets (bug 1894703) for causing failures related to DOCSHELL logging. CLOSED TREE
...
Backed out changeset f9a8141501a7 (bug 1894703)
Backed out changeset e8eb7ab47374 (bug 1894703)
Backed out changeset a84074f814da (bug 1894703)
2024-05-16 21:12:06 +03:00
Julien Wajsberg
4ab8104709
Bug 1894703 - Set logging modules from a single preference r=padenot
...
This uses a new preference logging.config.modules. When the user sets a
MOZ_LOG string to this preference, it's parsed the same way and the
corresponding modules are enabled.
Differential Revision: https://phabricator.services.mozilla.com/D209249
2024-05-16 15:51:07 +00:00
Kelsey Gilbert
7cf6146205
Bug 1874226 - Use unique_ptr not Scoped in xpcom/*. r=xpcom-reviewers,necko-reviewers,valentin,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D200250
2024-02-07 18:30:22 +00:00
Cosmin Sabou
ce591ce37b
Backed out 2 changesets (bug 1874226) for causing bustages on dom/ContentParent.h. CLOSED TREE
...
Backed out changeset 3efd59369cd6 (bug 1874226)
Backed out changeset cd7b0bd12dae (bug 1874226)
2024-02-06 03:08:23 +02:00
Kelsey Gilbert
34bc48eb8c
Bug 1874226 - Use unique_ptr not Scoped in xpcom/*. r=xpcom-reviewers,necko-reviewers,valentin,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D200250
2024-02-06 00:21:43 +00:00
Mike Hommey
74365b6dfd
Bug 1836890 - Remove uses of chromium's OS_* macros in Gecko code. r=nika,media-playback-reviewers,keeler,gfx-reviewers,emilio,necko-reviewers,kershaw,karlt,jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D180039
2023-06-06 20:00:47 +00:00
Nazım Can Altınova
c91a8714b7
Bug 1803751 - Make some marker fields searchable and bump the profile version r=julienw
...
Differential Revision: https://phabricator.services.mozilla.com/D163714
2022-12-13 14:19:07 +00:00
Iulian Moraru
94985653c4
Backed out changeset 27f8690ebc50 (bug 1803751) for causing xpcshell failures on test_feature_mainthreadio.js. CLOSED TREE
2022-12-12 17:43:23 +02:00
Nazım Can Altınova
76eaba45b7
Bug 1803751 - Make some marker fields searchable and bump the profile version r=julienw
...
Differential Revision: https://phabricator.services.mozilla.com/D163714
2022-12-12 13:11:56 +00:00
Paul Adenot
683cc847fc
Bug 1801922 - Warn if kInitialModuleCount is too low. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D162873
2022-11-25 12:59:44 +00:00
Florian Quèze
1cd90f9242
Bug 1705019 - Always record LogMessage profiler markers for enabled log messages when the profiler is enabled and add a new 'profilerstacks' keyword to enable capturing stacks in these markers, r=mstange.
...
Differential Revision: https://phabricator.services.mozilla.com/D156969
2022-09-13 13:26:24 +00:00
Andi-Bogdan Postelnicu
eaf5c3d9d1
Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium
...
Updated with clang-format version 14.0.5 (taskcluster-DydCt-ryTuKvBYw1HQOugw)
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D154661
2022-08-16 07:08:27 +00:00
Paul Adenot
99b964f4fb
Bug 1657197 - Support enabling MOZ_LOG profilermarkers mirroring at runtime. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D152166
2022-07-20 13:25:33 +00:00
Mike Hommey
45b9f403ab
Bug 1766561 - Use %lu for Windows Error types (DWORD). r=rkraesig,xpcom-reviewers,application-update-reviewers,mhowell,bobowen,necko-reviewers,keeler,media-playback-reviewers,bytesized,barret,alwu,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D144914
2022-05-03 20:49:07 +00:00
Mike Hommey
26702692e3
Bug 1766561 - Adapt formatting to the difference in ProcessId type across platforms. r=nika,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D144911
2022-05-03 20:49:04 +00:00
Gerald Squelart
8c94ff82ed
Bug 1738627 - profiler_thread_is_being_profiled_for_markers - r=canaltinova
...
`profiler_thread_is_being_profiled` is used a lot for markers, so it makes sense to have a specialized version, which is a bit shorter, and lives in ProfilerMarkers.h.
Differential Revision: https://phabricator.services.mozilla.com/D130009
2021-11-08 23:59:35 +00:00
Cristian Tuns
839b72e1d3
Backed out 5 changesets (bug 1738627) for causing xpcshell failures on test_ext_geckoProfiler_schema.js CLOSED TREE
...
Backed out changeset 42d385d7da97 (bug 1738627)
Backed out changeset edeb3a338954 (bug 1738627)
Backed out changeset 98f02e35134d (bug 1738627)
Backed out changeset 711daa6dd24b (bug 1738627)
Backed out changeset 49e12753a40c (bug 1738627)
2021-11-05 05:12:28 -04:00
Gerald Squelart
019bfd575e
Bug 1738627 - profiler_thread_is_being_profiled_for_markers - r=canaltinova
...
`profiler_thread_is_being_profiled` is used a lot for markers, so it makes sense to have a specialized version, which is a bit shorter, and lives in ProfilerMarkers.h.
Differential Revision: https://phabricator.services.mozilla.com/D130009
2021-11-05 05:52:28 +00:00
Gerald Squelart
e52556d921
Bug 1735697 - Remove profiler_can_accept_markers(), use profiler_thread_is_being_profiled() instead - r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D128577
2021-10-18 23:11:30 +00:00
Nazım Can Altınova
78dc6f6c66
Bug 1728544 - Make the MarkerSchema::Format enum class values CamelCased r=gerald
...
Differential Revision: https://phabricator.services.mozilla.com/D124241
2021-09-03 14:30:10 +00:00
Nazım Can Altınova
9bc6c810fc
Bug 1728544 - Make the MarkerSchema::Location enum class values CamelCased r=gerald
...
Differential Revision: https://phabricator.services.mozilla.com/D124240
2021-09-03 14:30:09 +00:00
Tom Ritter
7830c4464f
Bug 1666222: Cut over a ton of NowUnfuzzed calls -> Now 4/5 r=smaug,extension-reviewers,zombie
...
With Fuzzyfox removed, Now() does what NowUnfuzzed() did.
Differential Revision: https://phabricator.services.mozilla.com/D119639
2021-07-14 18:18:17 +00:00
Toshihito Kikuchi
1881f8e533
Bug 1701368 - Part1: Extract nsAvailableMemoryWatcher as AvailableMemoryWatcherWin.cpp. r=gsvelto
...
This patch splits `nsAvailableMemoryWatcher` into 1) an nsISupports-derived class
`nsAvailableMemoryWatcherBase` and 2) a platform-specific class `nsAvailableMemoryWatcher`,
taking out the 2) part as a new file AvailableMemoryWatcherWin.cpp without any change.
Test cases for `nsAvailableMemoryWatcher` will be added by a subsequent patch.
Differential Revision: https://phabricator.services.mozilla.com/D117669
2021-07-06 22:30:57 +00:00
Butkovits Atila
951bf17039
Backed out 7 changesets (bug 1701368) for causing build bustages on TestMemoryPressure.cpp. CLOSED TREE
...
Backed out changeset 3be9f410b666 (bug 1701368 )
Backed out changeset 907317341862 (bug 1701368 )
Backed out changeset 38fb1e114a53 (bug 1701368 )
Backed out changeset f3a475931a13 (bug 1701368 )
Backed out changeset 98046adfc310 (bug 1701368 )
Backed out changeset d773413513cf (bug 1701368 )
Backed out changeset feca7daa9c96 (bug 1701368 )
2021-07-07 00:21:34 +03:00
Toshihito Kikuchi
1b24548129
Bug 1701368 - Part1: Extract nsAvailableMemoryWatcher as AvailableMemoryWatcherWin.cpp. r=gsvelto
...
This patch splits `nsAvailableMemoryWatcher` into 1) an nsISupports-derived class
`nsAvailableMemoryWatcherBase` and 2) a platform-specific class `nsAvailableMemoryWatcher`,
taking out the 2) part as a new file AvailableMemoryWatcherWin.cpp without any change.
Test cases for `nsAvailableMemoryWatcher` will be added by a subsequent patch.
Differential Revision: https://phabricator.services.mozilla.com/D117669
2021-07-06 18:59:07 +00:00
Florian Quèze
bad6178c51
Bug 1717991 - Remove ifdefs around code that adds profiler markers with custom marker schemas, r=gerald.
...
Differential Revision: https://phabricator.services.mozilla.com/D118680
2021-06-25 13:28:01 +00:00