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.
5 #include "base/trace_event/trace_event_impl.h"
8 namespace trace_event
{
10 // Enable everything but debug and test categories by default.
11 const char CategoryFilter::kDefaultCategoryFilterString
[] = "-*Debug,-*Test";
13 // Constant used by TraceLog's internal implementation of trace_option.
14 const TraceLog::InternalTraceOptions
15 TraceLog::kInternalNone
= 0;
16 const TraceLog::InternalTraceOptions
17 TraceLog::kInternalRecordUntilFull
= 1 << 0;
18 const TraceLog::InternalTraceOptions
19 TraceLog::kInternalRecordContinuously
= 1 << 1;
20 const TraceLog::InternalTraceOptions
21 TraceLog::kInternalEnableSampling
= 1 << 2;
22 const TraceLog::InternalTraceOptions
23 TraceLog::kInternalEchoToConsole
= 1 << 3;
24 const TraceLog::InternalTraceOptions
25 TraceLog::kInternalRecordAsMuchAsPossible
= 1 << 4;
27 } // namespace trace_event