/*************************************************************************** * * Copyright (C) 2001 International Business Machines * All rights reserved. * * This file is part of the GPFS mmfslinux kernel module. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written * permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * *************************************************************************** */ /* * Trace id and reason code definitions. * * This file is generated by mktrace. * ------>>> DO NOT EDIT ! <<<------ */ #include #define LOCAL_BASE DIR_ID_KERNEXT_GPL_LINUX_IA64 #define LOCAL_TRCID (LOCAL_BASE << 10) #define TRCID_SS_022 (LOCAL_TRCID + 1) #define TRCID_SS_055 (LOCAL_TRCID + 2) #define TRCID_SS_056 (LOCAL_TRCID + 3) #define TRCID_SS_057 (LOCAL_TRCID + 4) #define TRCID_SS_022X (LOCAL_TRCID + 5) /* Generated trace calls */ #ifdef __64BIT__ #define TRACE_TRCID_SS_022_CALL \ _TRACE5D(_HOOKWORD(TRCID_SS_022), (Int64)(cpl), (Int64)(ipsr), (Int64)(pfs), (Int64)(new_ipsr), (Int64)(new_pfs)); #define TRACE_TRCID_SS_055_CALL \ _TRACE6D(_HOOKWORD(TRCID_SS_055), (Int64)(file), (Int64)(addr), (Int64)(len), (Int64)(prot), (Int64)(flag), (Int64)(offset)); #define TRACE_TRCID_SS_056_CALL \ _TRACE4D(_HOOKWORD(TRCID_SS_056), (Int64)(addr), (Int64)(ret), (Int64)(testP[0]), (Int64)(cpl)); #define TRACE_TRCID_SS_057_CALL \ _TRACE7D(_HOOKWORD(TRCID_SS_057), (Int64)(file), (Int64)(addr), (Int64)(len), (Int64)(prot), (Int64)(flag), (Int64)(offset), (Int64)(ret)); #define TRACE_TRCID_SS_022X_CALL \ _TRACE3D(_HOOKWORD(TRCID_SS_022X), (Int64)(cpl), (Int64)(ipsr), (Int64)(pfs)); #else /* _ILP_32 */ #define TRACE_TRCID_SS_022_CALL \ _TRACE5D(_HOOKWORD(TRCID_SS_022), (Int32)(cpl), (Int32)(ipsr), (Int32)(pfs), (Int32)(new_ipsr), (Int32)(new_pfs)); #define TRACE_TRCID_SS_055_CALL \ _TRACE6D(_HOOKWORD(TRCID_SS_055), (Int32)(file), (Int32)(addr), (Int32)(len), (Int32)(prot), (Int32)(flag), (Int32)(offset)); #define TRACE_TRCID_SS_056_CALL \ _TRACE4D(_HOOKWORD(TRCID_SS_056), (Int32)(addr), (Int32)(ret), (Int32)(testP[0]), (Int32)(cpl)); #define TRACE_TRCID_SS_057_CALL \ _TRACE7D(_HOOKWORD(TRCID_SS_057), (Int32)(file), (Int32)(addr), (Int32)(len), (Int32)(prot), (Int32)(flag), (Int32)(offset), (Int32)(ret)); #define TRACE_TRCID_SS_022X_CALL \ _TRACE3D(_HOOKWORD(TRCID_SS_022X), (Int32)(cpl), (Int32)(ipsr), (Int32)(pfs)); #endif /* __64BIT__ */