git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c37aa6f
)
CTDB: change how the hop count buckets are displayed in ctdb statistics
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 20 Mar 2012 00:43:09 +0000
(11:43 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 20 Mar 2012 00:43:09 +0000
(11:43 +1100)
tools/ctdb.c
patch
|
blob
|
history
diff --git
a/tools/ctdb.c
b/tools/ctdb.c
index 3f112072732f21f73518da7ba334959d241550c1..28b6e8fc3a014e664747802cd07042bd1b4955d8 100644
(file)
--- a/
tools/ctdb.c
+++ b/
tools/ctdb.c
@@
-442,7
+442,7
@@
static void show_statistics(struct ctdb_statistics *s, int show_header)
preflen?0:4, "",
*(uint32_t *)(fields[i].offset+(uint8_t *)s));
}
- printf("
Max hop count
buckets:");
+ printf("
hop_count_
buckets:");
for (i=0;i<MAX_HOP_COUNT_BUCKETS;i++) {
printf(" %d", s->hop_count_bucket[i]);
}