summaryrefslogtreecommitdiffstats
path: root/base/trace_event.h
diff options
context:
space:
mode:
authorsiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 21:09:26 +0000
committersiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-17 21:09:26 +0000
commit414f83089272176a3a93cdb4ca673926ebc3ab36 (patch)
tree399ab742f579726bacb74216c913fe0ec4ecde6a /base/trace_event.h
parent6a04ac2239221e2b64fe256507f136533cd541d3 (diff)
downloadchromium_src-414f83089272176a3a93cdb4ca673926ebc3ab36.zip
chromium_src-414f83089272176a3a93cdb4ca673926ebc3ab36.tar.gz
chromium_src-414f83089272176a3a93cdb4ca673926ebc3ab36.tar.bz2
Address requests for more documentation from
http://codereview.chromium.org/2023003 and http://codereview.chromium.org/2020002 BUG=none TEST=none Review URL: http://codereview.chromium.org/2094001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47455 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/trace_event.h')
-rw-r--r--base/trace_event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/trace_event.h b/base/trace_event.h
index 7537b97..ff2119a 100644
--- a/base/trace_event.h
+++ b/base/trace_event.h
@@ -20,6 +20,11 @@
#if defined(OS_WIN)
// On Windows we always pull in an alternative implementation
// which logs to Event Tracing for Windows.
+//
+// Note that the Windows implementation is always enabled, irrespective the
+// value of the CHROMIUM_ENABLE_TRACE_EVENT define. The Windows implementation
+// is controlled by Event Tracing for Windows, which will turn tracing on only
+// if there is someone listening for the events it generates.
#include "base/trace_event_win.h"
#else // defined(OS_WIN)