summaryrefslogtreecommitdiffstats
path: root/base/trace_event.h
diff options
context:
space:
mode:
authordkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-31 01:20:34 +0000
committerdkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-31 01:20:34 +0000
commit9bcbbde0d74ac54e4da6b327d2269c2aaba520e4 (patch)
treeaa7409d2a76d2627a29e2e108216885de47f3c33 /base/trace_event.h
parent55d14908fea4f62ddd1d15583d6c78476a030dd2 (diff)
downloadchromium_src-9bcbbde0d74ac54e4da6b327d2269c2aaba520e4.zip
chromium_src-9bcbbde0d74ac54e4da6b327d2269c2aaba520e4.tar.gz
chromium_src-9bcbbde0d74ac54e4da6b327d2269c2aaba520e4.tar.bz2
Enable tracing on non-windows platforms.
This was LGTM by erikkay in code review 16207, and I meant to commit it as part of code review 16467, but dropped it by accident. Review URL: http://codereview.chromium.org/17031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/trace_event.h')
-rw-r--r--base/trace_event.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/base/trace_event.h b/base/trace_event.h
index 131af46..02f6128 100644
--- a/base/trace_event.h
+++ b/base/trace_event.h
@@ -35,8 +35,6 @@
// RunScript(script);
// TRACE_EVENT_END("v8.run", documentId, scriptLocation);
-#if defined(OS_WIN)
-
// Record that an event (of name, id) has begun. All BEGIN events should have
// corresponding END events with a matching (name, id).
#define TRACE_EVENT_BEGIN(name, id, extra) \
@@ -65,13 +63,6 @@
extra, \
__FILE__, \
__LINE__)
-#else
-// TODO(erikkay): temporarily disable the macros on other platforms
-// until I can add the files to the other platform build files.
-#define TRACE_EVENT_BEGIN(name, id, extra)
-#define TRACE_EVENT_END(name, id, extra)
-#define TRACE_EVENT_INSTANT(name, id, extra)
-#endif
namespace base {
class ProcessMetrics;