From 9bcbbde0d74ac54e4da6b327d2269c2aaba520e4 Mon Sep 17 00:00:00 2001 From: "dkegel@google.com" Date: Wed, 31 Dec 2008 01:20:34 +0000 Subject: 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 --- base/trace_event.h | 9 --------- 1 file changed, 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; -- cgit v1.1