traceMacros.hpp revision 3081
3081N/A/*
3081N/A * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
3081N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3081N/A *
3081N/A * This code is free software; you can redistribute it and/or modify it
3081N/A * under the terms of the GNU General Public License version 2 only, as
3081N/A * published by the Free Software Foundation.
3081N/A *
3081N/A * This code is distributed in the hope that it will be useful, but WITHOUT
3081N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3081N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3081N/A * version 2 for more details (a copy is included in the LICENSE file that
3081N/A * accompanied this code).
3081N/A *
3081N/A * You should have received a copy of the GNU General Public License version
3081N/A * 2 along with this work; if not, write to the Free Software Foundation,
3081N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3081N/A *
3081N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3081N/A * or visit www.oracle.com if you need additional information or have any
3081N/A * questions.
3081N/A *
3081N/A */
3081N/A
3081N/A#ifndef SHARE_VM_TRACE_TRACE_MACRO_HPP
3081N/A#define SHARE_VM_TRACE_TRACE_MACRO_HPP
3081N/A
3081N/A#define EVENT_BEGIN(type, name)
3081N/A#define EVENT_SET(name, field, value)
3081N/A#define EVENT_COMMIT(name, ...)
3081N/A#define EVENT_STARTED(name, time)
3081N/A#define EVENT_ENDED(name, time)
3081N/A#define EVENT_THREAD_EXIT(thread)
3081N/A
3081N/A#define TRACE_ENABLED 0
3081N/A
3081N/A#define TRACE_INIT_ID(k)
3081N/A#define TRACE_BUFFER void*
3081N/A
3081N/A#define TRACE_START() true
3081N/A#define TRACE_INITIALIZE() 0
3081N/A
3081N/A#endif