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_TRACE_EVENT_TRACE_EVENT_WIN_H_ | 6 #ifndef BASE_TRACE_EVENT_TRACE_EVENT_WIN_H_ |
7 #define BASE_TRACE_EVENT_TRACE_EVENT_WIN_H_ | 7 #define BASE_TRACE_EVENT_TRACE_EVENT_WIN_H_ |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 104 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 trace_event | 122 } // namespace trace_event |
123 } // namespace base | 123 } // namespace base |
124 | 124 |
125 // TODO(ssid): remove these aliases after the tracing clients are moved to the | |
126 // new trace_event namespace. See crbug.com/451032. ETA: March 2015. | |
127 namespace base { | |
128 namespace debug { | |
129 using base::trace_event::kChromeTraceProviderName; | |
130 using base::trace_event::kTraceEventClass32; | |
131 using base::trace_event::kTraceEventClass64; | |
132 using base::trace_event::kTraceEventTypeBegin; | |
133 using base::trace_event::kTraceEventTypeEnd; | |
134 using base::trace_event::kTraceEventTypeInstant; | |
135 using base::trace_event::TraceEventETWProvider; | |
136 } // namespace debug | |
137 } // namespace base | |
138 | |
139 #endif // BASE_TRACE_EVENT_TRACE_EVENT_WIN_H_ | 125 #endif // BASE_TRACE_EVENT_TRACE_EVENT_WIN_H_ |
OLD | NEW |