From ced48fc2a2c4cf8ed491ba52c93df6782ddcdf72 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 24 May 2018 14:06:04 +0200 Subject: Remove SPS profiler. - Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions. --- storage/TelemetryVFS.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'storage') diff --git a/storage/TelemetryVFS.cpp b/storage/TelemetryVFS.cpp index f4f28b36c..5a025e29e 100644 --- a/storage/TelemetryVFS.cpp +++ b/storage/TelemetryVFS.cpp @@ -110,18 +110,6 @@ public: // We don't report SQLite I/O on Windows because we have a comprehensive // mechanism for intercepting I/O on that platform that captures a superset // of the data captured here. -#if defined(MOZ_ENABLE_PROFILER_SPS) && !defined(XP_WIN) - if (IOInterposer::IsObservedOperation(op)) { - const char* main_ref = "sqlite-mainthread"; - const char* other_ref = "sqlite-otherthread"; - - // Create observation - IOInterposeObserver::Observation ob(op, start, end, - (mainThread ? main_ref : other_ref)); - // Report observation - IOInterposer::Report(ob); - } -#endif /* defined(MOZ_ENABLE_PROFILER_SPS) && !defined(XP_WIN) */ } private: -- cgit v1.2.3