diff options
author | Andrew Tridgell <tridge@samba.org> | 1999-04-01 05:22:58 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1999-04-01 05:22:58 +0000 |
commit | d330c907bdc5d8e3c242cea76dfafaae84041270 (patch) | |
tree | d5a1381ca1adbe412bdb25084632ffc6b053f2c1 /source3/include/config.h.in | |
parent | a8aff598f42a7479a2c43cbd04064cbbcf150599 (diff) | |
download | samba-d330c907bdc5d8e3c242cea76dfafaae84041270.tar.gz samba-d330c907bdc5d8e3c242cea76dfafaae84041270.tar.xz samba-d330c907bdc5d8e3c242cea76dfafaae84041270.zip |
Ken McDonell from SGI was interested in adding some profiling
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.
(This used to be commit ef3d61a80ad0b87c196a63ef2bd4fe8fc3863bd0)
Diffstat (limited to 'source3/include/config.h.in')
-rw-r--r-- | source3/include/config.h.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index f2dcdd7765c..6c4dd746dad 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -109,6 +109,7 @@ #undef HAVE_SET_AUTH_PARAMETERS #undef WITH_MMAP #undef WITH_SYSLOG +#undef WITH_PROFILE #undef WITH_SSL #undef WITH_LDAP #undef WITH_NISPLUS @@ -636,6 +637,9 @@ /* Define if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H +/* Define if you have the <mysql.h> header file. */ +#undef HAVE_MYSQL_H + /* Define if you have the <ndir.h> header file. */ #undef HAVE_NDIR_H @@ -786,9 +790,6 @@ /* Define if you have the <utime.h> header file. */ #undef HAVE_UTIME_H -/* Define if you have the <mysql.h> header file. */ -#undef HAVE_MYSQL_H - /* Define if you have the dl library (-ldl). */ #undef HAVE_LIBDL |