gecko-dev/xpcom/base
Gerald Squelart 95f77c2409 Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum
All calls to `profiler_add_marker()` (outside of the profilers code) are
now replaced by either:
- `PROFILER_ADD_MARKER(name, categoryPair)`
- `PROFILER_ADD_MARKER_WITH_PAYLOAD(name, categoryPair, TypeOfMarkerPayload,
                                    (payload, ..., arguments))`

This makes all calls consistent, and they won't need to prefix the category pair
with `JS::ProfilingCategoryPair::`.

Also it will make it easier to add (and later remove) internal-profiling
instrumentation (bug 1576550), and to replace heap-allocated payloads with
stack-allocated ones (bug 1576555).

Differential Revision: https://phabricator.services.mozilla.com/D43588

--HG--
extra : moz-landing-system : lando
2019-09-04 07:56:51 +00:00
..
AutoRestore.h
AvailableMemoryTracker.cpp
AvailableMemoryTracker.h
ClearOnShutdown.cpp Bug 1573623: Add RunOnShutdown, a variant of ClearOnShutdown which supports passing callables; r=froydnj 2019-08-15 19:08:39 +00:00
ClearOnShutdown.h Bug 1573623: Add RunOnShutdown, a variant of ClearOnShutdown which supports passing callables; r=froydnj 2019-08-15 19:08:39 +00:00
CodeAddressService.h Bug 1573090 - Part 2: Look up ELF symbol tables directly when pre-symbolicating Gecko profiles on Linux. r=gerald 2019-08-23 05:45:16 +00:00
components.conf
CountingAllocatorBase.h Bug 1573229 - part 1 - Add infallible versions of the memory-allocation functions in CountingAllocatorBase. r=njn 2019-08-15 00:49:55 +00:00
CycleCollectedJSContext.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
CycleCollectedJSContext.h Bug 1542931 add CycleCollectedJSContext::ReportError() r=baku 2019-06-12 19:11:04 +00:00
CycleCollectedJSRuntime.cpp Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum 2019-09-04 07:56:51 +00:00
CycleCollectedJSRuntime.h Bug 1573844 - Remove js::Class definition and alias JSClass to it r=tcampbell,mccr8 2019-08-15 08:32:22 +00:00
Debug.cpp
Debug.h
DebuggerOnGCRunnable.cpp
DebuggerOnGCRunnable.h
DeferredFinalize.cpp Bug 1573938 - Never collect wrapper JSObjects when recording/replaying, r=mccr8. 2019-08-16 20:51:12 +00:00
DeferredFinalize.h Bug 1573938 - Never collect wrapper JSObjects when recording/replaying, r=mccr8. 2019-08-16 20:51:12 +00:00
EnumeratedArrayCycleCollection.h
ErrorList.py Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie 2019-08-09 19:57:50 +00:00
ErrorNames.cpp
ErrorNames.h
GkRustUtils.cpp
GkRustUtils.h
HoldDropJSObjects.cpp
HoldDropJSObjects.h
IntentionalCrash.h
JSObjectHolder.cpp
JSObjectHolder.h
LogCommandLineHandler.cpp
LogCommandLineHandler.h
Logging.cpp Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum 2019-09-04 07:56:51 +00:00
Logging.h Bug 1574882 - Always add .moz_log to target logging filenames, r=erahm 2019-08-23 16:51:40 +00:00
LogModulePrefWatcher.cpp
LogModulePrefWatcher.h
MacHelpers.h
MacHelpers.mm
MacStringHelpers.h
MacStringHelpers.mm
MemoryInfo.cpp
MemoryInfo.h
MemoryMapping.cpp
MemoryMapping.h
MemoryReportingProcess.h
MemoryTelemetry.cpp Bug 1513392 - move gathering total memory to before CanRecordReleaseData() bail r=erahm 2019-07-17 15:23:12 +00:00
MemoryTelemetry.h
moz.build Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
nsAgg.h
nsAlgorithm.h
nsAutoPtr.h
nsAutoRef.h
nsClassInfoImpl.cpp
nsCom.h
nsCOMPtr.cpp
nsCOMPtr.h
nsConsoleMessage.cpp
nsConsoleMessage.h
nsConsoleService.cpp Backed out changeset fee72f003ea2 (bug 1577767) win build bustages on a CLOSED TREE 2019-09-03 11:47:31 +03:00
nsConsoleService.h Backed out changeset fee72f003ea2 (bug 1577767) win build bustages on a CLOSED TREE 2019-09-03 11:47:31 +03:00
nscore.h Bug 1547519 - Rename NS_STRINGIFY to MOZ_STRINGIFY, move to mfbt, and unify stragglers r=glandium 2019-09-04 02:40:32 +00:00
nsCrashOnException.cpp
nsCrashOnException.h
nsCRTGlue.cpp
nsCRTGlue.h
nsCycleCollectionNoteChild.h
nsCycleCollectionNoteRootCallback.h
nsCycleCollectionParticipant.cpp
nsCycleCollectionParticipant.h
nsCycleCollectionTraversalCallback.h
nsCycleCollector.cpp
nsCycleCollector.h
nsCycleCollectorTraceJSHelpers.cpp
nsDebug.h
nsDebugImpl.cpp
nsDebugImpl.h
nsDumpUtils.cpp Bug 1163103 - stop using NS_GetSpecialDirectory off the main thread within the cycle collector (via nsDumpUtils.cpp), r=mccr8 2019-08-21 17:23:03 +00:00
nsDumpUtils.h
nsError.h
nsErrorService.cpp
nsErrorService.h
nsGZFileWriter.cpp
nsGZFileWriter.h
nsIClassInfoImpl.h
nsIConsoleListener.idl
nsIConsoleMessage.idl
nsIConsoleService.idl
nsICycleCollectorListener.idl
nsID.cpp
nsID.h Bug 1577263: Use memcmp for nsID::Equals. r=froydnj 2019-08-28 19:08:44 +00:00
nsIDebug2.idl
nsIErrorService.idl
nsIException.idl
nsIGZFileWriter.idl
nsIInterfaceRequestor.idl
nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.h
nsIMacPreferencesReader.idl
nsIMacUtils.idl
nsIMemory.idl
nsIMemoryInfoDumper.idl
nsIMemoryReporter.idl
nsIMessageLoop.idl
nsIMutable.idl
nsINIParser.cpp
nsINIParser.h
nsInterfaceRequestorAgg.cpp
nsInterfaceRequestorAgg.h
nsISecurityConsoleMessage.idl
nsISizeOf.h
nsISupports.idl
nsISupportsBase.h
nsISupportsImpl.cpp
nsISupportsImpl.h
nsISupportsUtils.h
nsIUUIDGenerator.idl
nsIVersionComparator.idl
nsIWeakReference.idl
nsIWeakReferenceUtils.h
nsMacPreferencesReader.h
nsMacPreferencesReader.mm
nsMacUtilsImpl.cpp
nsMacUtilsImpl.h
nsMaybeWeakPtr.h
nsMemory.cpp
nsMemory.h
nsMemoryImpl.cpp
nsMemoryImpl.h
nsMemoryInfoDumper.cpp
nsMemoryInfoDumper.h
nsMemoryReporterManager.cpp
nsMemoryReporterManager.h
nsMessageLoop.cpp
nsMessageLoop.h
nsObjCExceptions.h
NSPRLogModulesParser.cpp
NSPRLogModulesParser.h
nsQueryObject.h
nsrootidl.idl
nsSecurityConsoleMessage.cpp
nsSecurityConsoleMessage.h
nsSystemInfo.cpp Bug 1575045 - stop using the directory service off the main thread from nsSystemInfo, r=froydnj 2019-08-21 11:16:02 +00:00
nsSystemInfo.h Bug 1553558 - collect countryCode in system info off the main thread. r=mconley,Standard8 2019-08-02 12:55:38 +00:00
nsTraceRefcnt.cpp Bug 1053379 - Simplify CodeAddressService so non-DMD users can rely on defaults. r=njn 2019-08-06 21:58:12 +00:00
nsTraceRefcnt.h
nsUUIDGenerator.cpp
nsUUIDGenerator.h
nsVersionComparator.cpp
nsVersionComparator.h
nsVersionComparatorImpl.cpp
nsVersionComparatorImpl.h
nsWeakReference.cpp
nsWeakReference.h
nsWindowsHelpers.h Bug 1486637 - Backout bug 1486637 and related patches. r=agashlin 2019-08-19 19:43:17 +00:00
OwningNonNull.h
SizeOfState.h
StaticLocalPtr.h Bug 1568361: Use StaticLocalAutoPtr for BackgroundMTAData; r=Jamie 2019-08-07 01:48:31 +00:00
StaticMonitor.h Bug 1570982 - remove CPP_THROW_NEW; r=glandium 2019-08-14 01:32:41 +00:00
StaticMutex.h Bug 1570982 - remove CPP_THROW_NEW; r=glandium 2019-08-14 01:32:41 +00:00
StaticPtr.h
TupleCycleCollection.h