1 #ifndef _MSG_DOT_H 2 #define _MSG_DOT_H 3 4 #include <sgsmsg.h> /* Msg typedef */ 5 6 #ifndef __lint 7 8 #define MSG_SGS_LOCAL_ARRAY __ldprof_msg 9 10 extern const char __ldprof_msg[]; 11 12 #define MSG_ORIG_STRTAB(_x, _s) &_s[_x] 13 14 #define MSG_ORIG(x) MSG_ORIG_STRTAB(x, __ldprof_msg) 15 16 extern const char * _ldprof_msg(Msg); 17 18 #define MSG_INTL(x) _ldprof_msg(x) 19 20 21 #define MSG_SYS_OPEN 1 22 #define MSG_SYS_OPEN_SIZE 40 23 24 #define MSG_SYS_MMAP 42 25 #define MSG_SYS_MMAP_SIZE 40 26 27 #define MSG_SYS_FTRUNC 83 28 #define MSG_SYS_FTRUNC_SIZE 45 29 30 #define MSG_GEN_PROFSZCHG 129 31 #define MSG_GEN_PROFSZCHG_SIZE 92 32 33 #define MSG_GEN_AUDITVERSION 222 34 #define MSG_GEN_AUDITVERSION_SIZE 77 35 36 #define MSG_GEN_PROFNOTSET 300 37 #define MSG_GEN_PROFNOTSET_SIZE 80 38 39 #define MSG_SUNW_OST_SGS 381 40 #define MSG_SUNW_OST_SGS_SIZE 12 41 42 #define MSG_FMT_PROFILE 394 43 #define MSG_FMT_PROFILE_SIZE 7 44 45 #define MSG_FMT_PROCSELF 402 46 #define MSG_FMT_PROCSELF_SIZE 17 47 48 #define MSG_SUF_PROFILE 420 49 #define MSG_SUF_PROFILE_SIZE 8 50 51 #define MSG_SUF_PROFILE_64 429 52 #define MSG_SUF_PROFILE_64_SIZE 9 53 54 #define MSG_PTH_VARTMP 439 55 #define MSG_PTH_VARTMP_SIZE 8 56 57 #else /* __lint */ 58 59 extern const char * _ldprof_msg(Msg); 60 61 #ifndef MSG_SGS_LOCAL_ARRAY 62 #define MSG_SGS_LOCAL_ARRAY "" 63 #endif 64 65 extern const char __ldprof_msg[]; 66 67 #define MSG_ORIG_STRTAB(_x, _s) _x 68 #define MSG_ORIG(x) x 69 #define MSG_INTL(x) x 70 71 #ifndef LINTSUP_SUPPRESS_STRINGS 72 73 #define MSG_SYS_OPEN "%s: open failed: %s: profiling disabled\n" 74 #define MSG_SYS_OPEN_SIZE 40 75 76 #define MSG_SYS_MMAP "%s: mmap failed: %s: profiling disabled\n" 77 #define MSG_SYS_MMAP_SIZE 40 78 79 #define MSG_SYS_FTRUNC "%s: ftruncate failed: %s: profiling disabled\n" 80 #define MSG_SYS_FTRUNC_SIZE 45 81 82 #define MSG_GEN_PROFSZCHG "ldprof.so: %s: profile target has changed size; recreate profile buffer: profiling disabled\n" 83 #define MSG_GEN_PROFSZCHG_SIZE 92 84 85 #define MSG_GEN_AUDITVERSION "ldprof.so: audit version mismatch: expected %d, found %d: profiling disabled\n" 86 #define MSG_GEN_AUDITVERSION_SIZE 77 87 88 #define MSG_GEN_PROFNOTSET "ldprof.so: profile target must be specified with LD_PROFILE: profiling disabled\n" 89 #define MSG_GEN_PROFNOTSET_SIZE 80 90 91 #define MSG_SUNW_OST_SGS "SUNW_OST_SGS" 92 #define MSG_SUNW_OST_SGS_SIZE 12 93 94 #define MSG_FMT_PROFILE "%s/%s%s" 95 #define MSG_FMT_PROFILE_SIZE 7 96 97 #define MSG_FMT_PROCSELF "/proc/self/status" 98 #define MSG_FMT_PROCSELF_SIZE 17 99 100 #define MSG_SUF_PROFILE ".profile" 101 #define MSG_SUF_PROFILE_SIZE 8 102 103 #define MSG_SUF_PROFILE_64 ".profilex" 104 #define MSG_SUF_PROFILE_64_SIZE 9 105 106 #define MSG_PTH_VARTMP "/var/tmp" 107 #define MSG_PTH_VARTMP_SIZE 8 108 109 #endif /* LINTSUP_SUPPRESS_STRINGS */ 110 111 #endif /* __lint */ 112 113 #endif 114