trace_log_constants.cc 966 B

1234567891011121314151617181920212223242526
  1. // Copyright (c) 2013 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "base/trace_event/trace_log.h"
  5. namespace base {
  6. namespace trace_event {
  7. // Constant used by TraceLog's internal implementation of trace_option.
  8. const TraceLog::InternalTraceOptions
  9. TraceLog::kInternalNone = 0;
  10. const TraceLog::InternalTraceOptions
  11. TraceLog::kInternalRecordUntilFull = 1 << 0;
  12. const TraceLog::InternalTraceOptions
  13. TraceLog::kInternalRecordContinuously = 1 << 1;
  14. // 1 << 2 is reserved for the DEPRECATED kInternalEnableSampling. DO NOT USE.
  15. const TraceLog::InternalTraceOptions
  16. TraceLog::kInternalEchoToConsole = 1 << 3;
  17. const TraceLog::InternalTraceOptions
  18. TraceLog::kInternalRecordAsMuchAsPossible = 1 << 4;
  19. const TraceLog::InternalTraceOptions
  20. TraceLog::kInternalEnableArgumentFilter = 1 << 5;
  21. } // namespace trace_event
  22. } // namespace base