mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
ef3d61a80a
capabilities to Samba so that Samba could talk to the SGI PCP (Performance Co-Pilot) apps. This change adds a profiling shared memory area and uses it to count two fairly trivial things, the number of uid switches and the number of SMB packets processes. To add more just edit include/profile.h and then increment it at the right place. I've also added a -P switch to smbstatus to dump the profile area.
90 lines
1.9 KiB
C
90 lines
1.9 KiB
C
#undef HAVE_BROKEN_READDIR
|
|
#undef HAVE_ERRNO_DECL
|
|
#undef HAVE_LONGLONG
|
|
#undef HAVE_OFF64_T
|
|
#undef HAVE_REMSH
|
|
#undef HAVE_UNSIGNED_CHAR
|
|
#undef HAVE_UTIMBUF
|
|
#undef ssize_t
|
|
#undef ino_t
|
|
#undef ssize_t
|
|
#undef loff_t
|
|
#undef offset_t
|
|
#undef aclent_t
|
|
#undef HAVE_CONNECT
|
|
#undef HAVE_SHORT_INO_T
|
|
#undef WITH_SMBWRAPPER
|
|
#undef WITH_AFS
|
|
#undef WITH_DFS
|
|
#undef SUNOS5
|
|
#undef SUNOS4
|
|
#undef LINUX
|
|
#undef AIX
|
|
#undef BSD
|
|
#undef IRIX
|
|
#undef HPUX
|
|
#undef QNX
|
|
#undef SCO
|
|
#undef OSF1
|
|
#undef NEXT2
|
|
#undef HAVE_SHARED_MMAP
|
|
#undef HAVE_SYSV_IPC
|
|
#undef HAVE_FCNTL_LOCK
|
|
#undef HAVE_FTRUNCATE_EXTEND
|
|
#undef HAVE_TRAPDOOR_UID
|
|
#undef HAVE_ROOT
|
|
#undef HAVE_UNION_SEMUN
|
|
#undef HAVE_NETMASK_IFCONF
|
|
#undef HAVE_GETTIMEOFDAY_TZ
|
|
#undef HAVE_SOCK_SIN_LEN
|
|
#undef STAT_READ_FILSYS
|
|
#undef STAT_STATFS2_BSIZE
|
|
#undef STAT_STATFS2_FSIZE
|
|
#undef STAT_STATFS2_FS_DATA
|
|
#undef STAT_STATFS3_OSF1
|
|
#undef STAT_STATFS4
|
|
#undef STAT_STATVFS
|
|
#undef STAT_STATVFS64
|
|
#undef HAVE_NETMASK_IFREQ
|
|
#undef HAVE_NETMASK_AIX
|
|
#undef HAVE_CRYPT
|
|
#undef HAVE_PUTPRPWNAM
|
|
#undef HAVE_SET_AUTH_PARAMETERS
|
|
#undef WITH_MMAP
|
|
#undef WITH_SYSLOG
|
|
#undef WITH_PROFILE
|
|
#undef WITH_SSL
|
|
#undef WITH_LDAP
|
|
#undef WITH_NISPLUS
|
|
#undef WITH_NISPLUS_HOME
|
|
#undef WITH_AUTOMOUNT
|
|
#undef WITH_SMBMOUNT
|
|
#undef HAVE_PAM_AUTHENTICATE
|
|
#undef HAVE_BROKEN_GETGROUPS
|
|
#undef REPLACE_GETPASS
|
|
#undef REPLACE_INET_NTOA
|
|
#undef HAVE_FILE_MACRO
|
|
#undef HAVE_FUNCTION_MACRO
|
|
#undef HAVE_SETRESUID_DECL
|
|
#undef HAVE_CRYPT_DECL
|
|
#undef HAVE_SETRESUID
|
|
#undef WITH_NETATALK
|
|
#undef HAVE_INO64_T
|
|
#undef HAVE_STRUCT_FLOCK64
|
|
#undef SIZEOF_INO_T
|
|
#undef SIZEOF_OFF_T
|
|
#undef STAT_STATVFS64
|
|
#undef HAVE_LIBREADLINE
|
|
#undef HAVE_KERNEL_OPLOCKS
|
|
#undef HAVE_IRIX_SPECIFIC_CAPABILITIES
|
|
#undef HAVE_INT16_FROM_RPC_RPC_H
|
|
#undef HAVE_UINT16_FROM_RPC_RPC_H
|
|
#undef HAVE_INT32_FROM_RPC_RPC_H
|
|
#undef HAVE_UINT32_FROM_RPC_RPC_H
|
|
#undef KRB4_AUTH
|
|
#undef SEEKDIR_RETURNS_VOID
|
|
#undef HAVE_DIRENT_D_OFF
|
|
#undef HAVE_GETSPNAM
|
|
#undef HAVE_BIGCRYPT
|
|
#undef HAVE_GETPRPWNAM
|