diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-24 14:06:04 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-24 14:06:04 +0200 |
commit | ac25827a87d86f1cf9e48aab6605f77a2c89041a (patch) | |
tree | c3533a008e606f4f6393e838b4305cf6d07f47d2 /tools/profiler/gecko/ProfilerIOInterposeObserver.h | |
parent | c8b38a18031f6ae0fca8b2bef73daa86f6f96ae8 (diff) | |
download | UXP-ac25827a87d86f1cf9e48aab6605f77a2c89041a.tar UXP-ac25827a87d86f1cf9e48aab6605f77a2c89041a.tar.gz UXP-ac25827a87d86f1cf9e48aab6605f77a2c89041a.tar.lz UXP-ac25827a87d86f1cf9e48aab6605f77a2c89041a.tar.xz UXP-ac25827a87d86f1cf9e48aab6605f77a2c89041a.zip |
Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
Diffstat (limited to 'tools/profiler/gecko/ProfilerIOInterposeObserver.h')
-rw-r--r-- | tools/profiler/gecko/ProfilerIOInterposeObserver.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/tools/profiler/gecko/ProfilerIOInterposeObserver.h b/tools/profiler/gecko/ProfilerIOInterposeObserver.h index 8661b197e..fd47e48bd 100644 --- a/tools/profiler/gecko/ProfilerIOInterposeObserver.h +++ b/tools/profiler/gecko/ProfilerIOInterposeObserver.h @@ -5,24 +5,6 @@ #ifndef PROFILERIOINTERPOSEOBSERVER_H #define PROFILERIOINTERPOSEOBSERVER_H -#ifdef MOZ_ENABLE_PROFILER_SPS - -#include "mozilla/IOInterposer.h" - -namespace mozilla { - -/** - * This class is the observer that calls into the profiler whenever - * main thread I/O occurs. - */ -class ProfilerIOInterposeObserver final : public IOInterposeObserver -{ -public: - virtual void Observe(Observation& aObservation); -}; - -} // namespace mozilla - -#endif // MOZ_ENABLE_PROFILER_SPS + /*** STUB ***/ #endif // PROFILERIOINTERPOSEOBSERVER_H |