Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5086)

Unified Diff: base/trace_event/trace_event_impl_constants.cc

Issue 1115023003: [Startup Tracing] The TraceConfig class [STALE] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/trace_event/trace_event_impl_constants.cc
diff --git a/base/trace_event/trace_event_impl_constants.cc b/base/trace_event/trace_event_impl_constants.cc
index ffeacff38316c006eb0d70fb157838c3b7afb91d..1f1348414da602de296bc2c6b01224e29a30d4b4 100644
--- a/base/trace_event/trace_event_impl_constants.cc
+++ b/base/trace_event/trace_event_impl_constants.cc
@@ -7,6 +7,14 @@
namespace base {
namespace trace_event {
+const char TraceConfig::kDefaultTraceConfigString[] =
dsinclair 2015/05/08 17:44:50 I'd prefer not to have the default values encoded
Zhen Wang 2015/05/13 00:01:11 Done.
+ "{"
+ "\"enable_sampling\":false,"
+ "\"enable_systrace\":false,"
+ "\"excluded_categories\":[\"*Debug\",\"*Test\"],"
+ "\"record_mode\":\"record-until-full\""
+ "}";
+
// Enable everything but debug and test categories by default.
const char CategoryFilter::kDefaultCategoryFilterString[] = "-*Debug,-*Test";

Powered by Google App Engine
This is Rietveld 408576698