blob: 88075a6dde9fbed14829b8a3a86118d8621655c0 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#if defined(__Fuchsia__)
#include "apps/tracing/lib/trace/event.h"
#define TRACE_EVENT0(a, b) TRACE_DURATION0(a, b)
#define TRACE_EVENT1(a, b, c, d) TRACE_DURATION1(a, b, c, d)
#define TRACE_EVENT2(a, b, c, d, e, f) TRACE_DURATION2(a, b, c, d, e, f)
#define TRACE_EVENT_ASYNC_BEGIN0(a, b, c) TRACE_ASYNC_BEGIN0(a, b, c)
#define TRACE_EVENT_ASYNC_END0(a, b, c) TRACE_ASYNC_END0(a, b, c)
#define TRACE_EVENT_ASYNC_BEGIN1(a, b, c, d, e) \
TRACE_ASYNC_BEGIN1(a, b, c, d, e)
#define TRACE_EVENT_ASYNC_END1(a, b, c, d, e) TRACE_ASYNC_END1(a, b, c, d, e)
#else
#include "base/trace_event/trace_event.h"
#endif // defined(__Fuchsia__)