source: gpfs_3.1_ker2.6.20/lpp/mmfs/src/gpl-linux/ia64/trcid.h @ 16

Last change on this file since 16 was 16, checked in by rock, 16 years ago
File size: 3.7 KB
Line 
1/***************************************************************************
2 *
3 * Copyright (C) 2001 International Business Machines
4 * All rights reserved.
5 *
6 * This file is part of the GPFS mmfslinux kernel module.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 *
12 *  1. Redistributions of source code must retain the above copyright notice,
13 *     this list of conditions and the following disclaimer.
14 *  2. Redistributions in binary form must reproduce the above copyright
15 *     notice, this list of conditions and the following disclaimer in the
16 *     documentation and/or other materials provided with the distribution.
17 *  3. The name of the author may not be used to endorse or promote products
18 *     derived from this software without specific prior written
19 *     permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
23 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
30 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 *************************************************************************** */
33/*
34 * Trace id and reason code definitions.
35 *
36 * This file is generated by mktrace.
37 * ------>>> DO NOT EDIT ! <<<------
38 */
39#include <DirIds.h>
40#define LOCAL_BASE  DIR_ID_KERNEXT_GPL_LINUX_IA64
41#define LOCAL_TRCID (LOCAL_BASE << 10)
42#define TRCID_SS_022  (LOCAL_TRCID + 1)
43#define TRCID_SS_055  (LOCAL_TRCID + 2)
44#define TRCID_SS_056  (LOCAL_TRCID + 3)
45#define TRCID_SS_057  (LOCAL_TRCID + 4)
46#define TRCID_SS_022X (LOCAL_TRCID + 5)
47
48/* Generated trace calls */
49
50#ifdef __64BIT__
51
52#define TRACE_TRCID_SS_022_CALL \
53    _TRACE5D(_HOOKWORD(TRCID_SS_022), (Int64)(cpl), (Int64)(ipsr), (Int64)(pfs), (Int64)(new_ipsr), (Int64)(new_pfs));
54#define TRACE_TRCID_SS_055_CALL \
55    _TRACE6D(_HOOKWORD(TRCID_SS_055), (Int64)(file), (Int64)(addr), (Int64)(len), (Int64)(prot), (Int64)(flag), (Int64)(offset));
56#define TRACE_TRCID_SS_056_CALL \
57    _TRACE4D(_HOOKWORD(TRCID_SS_056), (Int64)(addr), (Int64)(ret), (Int64)(testP[0]), (Int64)(cpl));
58#define TRACE_TRCID_SS_057_CALL \
59    _TRACE7D(_HOOKWORD(TRCID_SS_057), (Int64)(file), (Int64)(addr), (Int64)(len), (Int64)(prot), (Int64)(flag), (Int64)(offset), (Int64)(ret));
60#define TRACE_TRCID_SS_022X_CALL \
61    _TRACE3D(_HOOKWORD(TRCID_SS_022X), (Int64)(cpl), (Int64)(ipsr), (Int64)(pfs));
62
63#else /* _ILP_32 */
64
65#define TRACE_TRCID_SS_022_CALL \
66    _TRACE5D(_HOOKWORD(TRCID_SS_022), (Int32)(cpl), (Int32)(ipsr), (Int32)(pfs), (Int32)(new_ipsr), (Int32)(new_pfs));
67#define TRACE_TRCID_SS_055_CALL \
68    _TRACE6D(_HOOKWORD(TRCID_SS_055), (Int32)(file), (Int32)(addr), (Int32)(len), (Int32)(prot), (Int32)(flag), (Int32)(offset));
69#define TRACE_TRCID_SS_056_CALL \
70    _TRACE4D(_HOOKWORD(TRCID_SS_056), (Int32)(addr), (Int32)(ret), (Int32)(testP[0]), (Int32)(cpl));
71#define TRACE_TRCID_SS_057_CALL \
72    _TRACE7D(_HOOKWORD(TRCID_SS_057), (Int32)(file), (Int32)(addr), (Int32)(len), (Int32)(prot), (Int32)(flag), (Int32)(offset), (Int32)(ret));
73#define TRACE_TRCID_SS_022X_CALL \
74    _TRACE3D(_HOOKWORD(TRCID_SS_022X), (Int32)(cpl), (Int32)(ipsr), (Int32)(pfs));
75
76#endif /* __64BIT__ */
Note: See TracBrowser for help on using the repository browser.