diff options
author | Steve French <sfrench@us.ibm.com> | 2005-12-03 16:58:57 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-12-03 16:58:57 -0500 |
commit | 4498eed50a114565debd38f173acd62cce6e7cb8 (patch) | |
tree | 8a94482e9a7b98bb32aab518a0fce74075eabd2f /fs/cifs/cifsglob.h | |
parent | 84afc29b185334f489975a003b128e1b15e24a54 (diff) |
[CIFS] Add extended stats (STATS2) for total buffer allocations for
better performance debugging.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 1ba08f8c5bc4..c011c278af4c 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -505,8 +505,12 @@ GLOBAL_EXTERN atomic_t tcpSesReconnectCount; | |||
505 | GLOBAL_EXTERN atomic_t tconInfoReconnectCount; | 505 | GLOBAL_EXTERN atomic_t tconInfoReconnectCount; |
506 | 506 | ||
507 | /* Various Debug counters to remove someday (BB) */ | 507 | /* Various Debug counters to remove someday (BB) */ |
508 | GLOBAL_EXTERN atomic_t bufAllocCount; | 508 | GLOBAL_EXTERN atomic_t bufAllocCount; /* current number allocated */ |
509 | GLOBAL_EXTERN atomic_t smBufAllocCount; | 509 | #ifdef CONFIG_CIFS_STATS2 |
510 | GLOBAL_EXTERN atomic_t totBufAllocCount; /* total allocated over all time */ | ||
511 | GLOBAL_EXTERN atomic_t totSmBufAllocCount; | ||
512 | #endif | ||
513 | GLOBAL_EXTERN atomic_t smBufAllocCount; | ||
510 | GLOBAL_EXTERN atomic_t midCount; | 514 | GLOBAL_EXTERN atomic_t midCount; |
511 | 515 | ||
512 | /* Misc globals */ | 516 | /* Misc globals */ |