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

Side by Side Diff: base/trace_event/trace_config.h

Issue 1329273002: [tracing] Send smaps file desciptor to child process for tracing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_TRACE_EVENT_TRACE_CONFIG_H_ 5 #ifndef BASE_TRACE_EVENT_TRACE_CONFIG_H_
6 #define BASE_TRACE_EVENT_TRACE_CONFIG_H_ 6 #define BASE_TRACE_EVENT_TRACE_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 // Returns true if at least one category in the list is enabled by this 155 // Returns true if at least one category in the list is enabled by this
156 // trace config. 156 // trace config.
157 bool IsCategoryGroupEnabled(const char* category_group) const; 157 bool IsCategoryGroupEnabled(const char* category_group) const;
158 158
159 // Merges config with the current TraceConfig 159 // Merges config with the current TraceConfig
160 void Merge(const TraceConfig& config); 160 void Merge(const TraceConfig& config);
161 161
162 void Clear(); 162 void Clear();
163 163
164 bool IsDetailedMemoryDumpEnabled() const;
165
164 const MemoryDumpConfig& memory_dump_config() const { 166 const MemoryDumpConfig& memory_dump_config() const {
165 return memory_dump_config_; 167 return memory_dump_config_;
166 } 168 }
167 169
168 private: 170 private:
169 FRIEND_TEST_ALL_PREFIXES(TraceConfigTest, TraceConfigFromValidLegacyFormat); 171 FRIEND_TEST_ALL_PREFIXES(TraceConfigTest, TraceConfigFromValidLegacyFormat);
170 FRIEND_TEST_ALL_PREFIXES(TraceConfigTest, 172 FRIEND_TEST_ALL_PREFIXES(TraceConfigTest,
171 TraceConfigFromInvalidLegacyStrings); 173 TraceConfigFromInvalidLegacyStrings);
172 FRIEND_TEST_ALL_PREFIXES(TraceConfigTest, ConstructDefaultTraceConfig); 174 FRIEND_TEST_ALL_PREFIXES(TraceConfigTest, ConstructDefaultTraceConfig);
173 FRIEND_TEST_ALL_PREFIXES(TraceConfigTest, TraceConfigFromValidString); 175 FRIEND_TEST_ALL_PREFIXES(TraceConfigTest, TraceConfigFromValidString);
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 StringList included_categories_; 231 StringList included_categories_;
230 StringList disabled_categories_; 232 StringList disabled_categories_;
231 StringList excluded_categories_; 233 StringList excluded_categories_;
232 StringList synthetic_delays_; 234 StringList synthetic_delays_;
233 }; 235 };
234 236
235 } // namespace trace_event 237 } // namespace trace_event
236 } // namespace base 238 } // namespace base
237 239
238 #endif // BASE_TRACE_EVENT_TRACE_CONFIG_H_ 240 #endif // BASE_TRACE_EVENT_TRACE_CONFIG_H_
OLDNEW
« no previous file with comments | « base/trace_event/process_memory_totals_dump_provider.cc ('k') | base/trace_event/trace_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698