OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This file contains the Windows-specific declarations for trace_event.h. | 5 // This file contains the Windows-specific declarations for trace_event.h. |
6 #ifndef BASE_DEBUG_TRACE_EVENT_WIN_H_ | 6 #ifndef BASE_TRACE_EVENT_TRACE_EVENT_WIN_H_ |
7 #define BASE_DEBUG_TRACE_EVENT_WIN_H_ | 7 #define BASE_TRACE_EVENT_TRACE_EVENT_WIN_H_ |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/base_export.h" | 11 #include "base/base_export.h" |
12 #include "base/debug/trace_event.h" | 12 #include "base/trace_event/trace_event.h" |
13 #include "base/win/event_trace_provider.h" | 13 #include "base/win/event_trace_provider.h" |
14 | 14 |
15 // Fwd. | 15 // Fwd. |
16 template <typename Type> | 16 template <typename Type> |
17 struct StaticMemorySingletonTraits; | 17 struct StaticMemorySingletonTraits; |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 namespace debug { | 20 namespace debug { |
21 | 21 |
22 // This EtwTraceProvider subclass implements ETW logging | 22 // This EtwTraceProvider subclass implements ETW logging |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 // The event format consists of: | 115 // The event format consists of: |
116 // The "name" string as a zero-terminated ASCII string. | 116 // The "name" string as a zero-terminated ASCII string. |
117 // The id pointer in the machine bitness. | 117 // The id pointer in the machine bitness. |
118 // The "extra" string as a zero-terminated ASCII string. | 118 // The "extra" string as a zero-terminated ASCII string. |
119 // Optionally the stack trace, consisting of a DWORD "depth", followed | 119 // Optionally the stack trace, consisting of a DWORD "depth", followed |
120 // by an array of void* (machine bitness) of length "depth". | 120 // by an array of void* (machine bitness) of length "depth". |
121 | 121 |
122 } // namespace debug | 122 } // namespace debug |
123 } // namespace base | 123 } // namespace base |
124 | 124 |
125 #endif // BASE_DEBUG_TRACE_EVENT_WIN_H_ | 125 #endif // BASE_TRACE_EVENT_TRACE_EVENT_WIN_H_ |
OLD | NEW |