summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-24 14:06:04 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-24 14:06:04 +0200
commitac25827a87d86f1cf9e48aab6605f77a2c89041a (patch)
treec3533a008e606f4f6393e838b4305cf6d07f47d2 /storage
parentc8b38a18031f6ae0fca8b2bef73daa86f6f96ae8 (diff)
downloaduxp-ac25827a87d86f1cf9e48aab6605f77a2c89041a.tar.gz
Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions.
Diffstat (limited to 'storage')
-rw-r--r--storage/TelemetryVFS.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/storage/TelemetryVFS.cpp b/storage/TelemetryVFS.cpp
index f4f28b36cd..5a025e29e2 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: