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 #include "base/debug/trace_event_win.h" | 4 |
| 5 #include "base/trace_event/trace_event_win.h" |
5 | 6 |
6 #include "base/logging.h" | 7 #include "base/logging.h" |
7 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
8 #include <initguid.h> // NOLINT | 9 #include <initguid.h> // NOLINT |
9 | 10 |
10 namespace base { | 11 namespace base { |
11 namespace debug { | 12 namespace debug { |
12 | 13 |
13 using base::win::EtwEventType; | 14 using base::win::EtwEventType; |
14 using base::win::EtwMofEvent; | 15 using base::win::EtwMofEvent; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 provider->TraceEvent(name, name_len, type, id, extra, extra_len); | 115 provider->TraceEvent(name, name_len, type, id, extra, extra_len); |
115 } | 116 } |
116 } | 117 } |
117 | 118 |
118 void TraceEventETWProvider::Resurrect() { | 119 void TraceEventETWProvider::Resurrect() { |
119 StaticMemorySingletonTraits<TraceEventETWProvider>::Resurrect(); | 120 StaticMemorySingletonTraits<TraceEventETWProvider>::Resurrect(); |
120 } | 121 } |
121 | 122 |
122 } // namespace debug | 123 } // namespace debug |
123 } // namespace base | 124 } // namespace base |
OLD | NEW |