Bug 1673731 - Remove needless printf from Stopwatch.cpp. r=chutten DONTBUILD
authorMike Conley <mconley@mozilla.com>
Tue, 27 Oct 2020 21:17:43 +0000
changeset 554806 e41e89a62d3154397c7d14f4fdb8e580cf428075
parent 554805 4b2288d37d5627f6a7c989e16ff98364e10c095d
child 554807 4cc1e99c7265e1ce6b1392558378c2471745ac4b
push id37898
push userabutkovits@mozilla.com
push dateWed, 28 Oct 2020 09:24:21 +0000
treeherdermozilla-central@83bf4fd3b1fb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschutten
bugs1673731
milestone84.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1673731 - Remove needless printf from Stopwatch.cpp. r=chutten DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D94893
toolkit/components/telemetry/core/Stopwatch.cpp
--- a/toolkit/components/telemetry/core/Stopwatch.cpp
+++ b/toolkit/components/telemetry/core/Stopwatch.cpp
@@ -515,18 +515,16 @@ bool Timers::FinishUserInteraction(
 #ifdef MOZ_GECKO_PROFILER
   if (profiler_can_accept_markers()) {
     nsAutoCString markerText(timer->GetBHRAnnotationValue());
     if (aAdditionalText.WasPassed()) {
       markerText.Append(",");
       markerText.Append(aAdditionalText.Value());
     }
 
-    printf("Adding marker: %s\n",
-           NS_ConvertUTF16toUTF8(aUserInteraction).get());
     PROFILER_MARKER_TEXT(NS_ConvertUTF16toUTF8(aUserInteraction), OTHER,
                          MarkerTiming::IntervalUntilNowFrom(timer->StartTime()),
                          markerText);
   }
 #endif
 
   // The Timer _should_ get automatically get removed from the LinkedList
   // when it runs its destructor, but let's remove it manually just in