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

Side by Side Diff: base/debug/trace_event_win.cc

Issue 4517004: Move Windows-specific Event Tracing for Windows implementation to base/win. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fixed another ETW user in Chrome Frame Created 10 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « base/debug/trace_event_win.h ('k') | base/debug/trace_event_win_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "base/debug/trace_event_win.h" 5 #include "base/debug/trace_event_win.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include <initguid.h> // NOLINT 9 #include <initguid.h> // NOLINT
10 10
11 namespace base { 11 namespace base {
12 namespace debug { 12 namespace debug {
13 13
14 using base::win::EtwEventType;
15 using base::win::EtwMofEvent;
16
14 // {3DADA31D-19EF-4dc1-B345-037927193422} 17 // {3DADA31D-19EF-4dc1-B345-037927193422}
15 const GUID kChromeTraceProviderName = { 18 const GUID kChromeTraceProviderName = {
16 0x3dada31d, 0x19ef, 0x4dc1, 0xb3, 0x45, 0x3, 0x79, 0x27, 0x19, 0x34, 0x22 }; 19 0x3dada31d, 0x19ef, 0x4dc1, 0xb3, 0x45, 0x3, 0x79, 0x27, 0x19, 0x34, 0x22 };
17 20
18 // {B967AE67-BB22-49d7-9406-55D91EE1D560} 21 // {B967AE67-BB22-49d7-9406-55D91EE1D560}
19 const GUID kTraceEventClass32 = { 22 const GUID kTraceEventClass32 = {
20 0xb967ae67, 0xbb22, 0x49d7, 0x94, 0x6, 0x55, 0xd9, 0x1e, 0xe1, 0xd5, 0x60 }; 23 0xb967ae67, 0xbb22, 0x49d7, 0x94, 0x6, 0x55, 0xd9, 0x1e, 0xe1, 0xd5, 0x60 };
21 24
22 // {97BE602D-2930-4ac3-8046-B6763B631DFE} 25 // {97BE602D-2930-4ac3-8046-B6763B631DFE}
23 const GUID kTraceEventClass64 = { 26 const GUID kTraceEventClass64 = {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 provider->TraceEvent(name, name_len, type, id, extra, extra_len); 110 provider->TraceEvent(name, name_len, type, id, extra, extra_len);
108 } 111 }
109 } 112 }
110 113
111 void TraceLog::Resurrect() { 114 void TraceLog::Resurrect() {
112 StaticMemorySingletonTraits<TraceLog>::Resurrect(); 115 StaticMemorySingletonTraits<TraceLog>::Resurrect();
113 } 116 }
114 117
115 } // namespace debug 118 } // namespace debug
116 } // namespace base 119 } // namespace base
OLDNEW
« no previous file with comments | « base/debug/trace_event_win.h ('k') | base/debug/trace_event_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698