summaryrefslogtreecommitdiffstats
path: root/source3/utils
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-11-28 09:33:13 +0100
committerRalph Böhme <slow@samba.org>2015-03-06 12:31:10 +0100
commit5fa692b4aa36f66a14ae9b1512f881ecef23dca3 (patch)
tree5145ddf71b9932e99d65d99e2e1c0b308c5d99e3 /source3/utils
parent7004ccc441f700692b95dba89f8d3c4f30f2ca18 (diff)
downloadsamba-5fa692b4aa36f66a14ae9b1512f881ecef23dca3.tar.gz
samba-5fa692b4aa36f66a14ae9b1512f881ecef23dca3.tar.xz
samba-5fa692b4aa36f66a14ae9b1512f881ecef23dca3.zip
s3:smbprofile: specify SMBPROFILE_STATS_SECTION_START() with name vs. display[name]
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/status_profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/status_profile.c b/source3/utils/status_profile.c
index f0cf405e18..a0f98d87c8 100644
--- a/source3/utils/status_profile.c
+++ b/source3/utils/status_profile.c
@@ -53,7 +53,7 @@ bool status_profile_dump(bool verbose)
(uintmax_t)profile_p->_stats.field); \
} while(0);
#define SMBPROFILE_STATS_START
-#define SMBPROFILE_STATS_SECTION_START(name) profile_separator(#name);
+#define SMBPROFILE_STATS_SECTION_START(name, display) profile_separator(#display);
#define SMBPROFILE_STATS_COUNT(name) do { \
__PRINT_FIELD_LINE(#name, name##_stats, count); \
} while(0);
@@ -243,7 +243,7 @@ static uint64_t print_count_samples(
}
#define SMBPROFILE_STATS_START
-#define SMBPROFILE_STATS_SECTION_START(name)
+#define SMBPROFILE_STATS_SECTION_START(name, display)
#define SMBPROFILE_STATS_COUNT(name) do { \
count += print_count_count_samples(buf, sizeof(buf), \
#name, \