public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: Lon Hohberger <lon@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: rgmanager: master - Remove references to malloc_dump_table Date: Tue, 05 May 2009 17:02:00 -0000 [thread overview] Message-ID: <20090505170132.E04C812026D@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/rgmanager.git?p=rgmanager.git;a=commitdiff;h=07e55b5fb5a82b5e1ee61b6145e6b2b6f16f1cb4 Commit: 07e55b5fb5a82b5e1ee61b6145e6b2b6f16f1cb4 Parent: b00c6fb8fb506bedd441730b1e6e7de8bf428a83 Author: Lon Hohberger <lhh@redhat.com> AuthorDate: Tue May 5 12:59:06 2009 -0400 Committer: Lon Hohberger <lhh@redhat.com> CommitterDate: Tue May 5 13:00:53 2009 -0400 Remove references to malloc_dump_table Signed-off-by: Lon Hohberger <lhh@redhat.com> --- rgmanager/src/clulib/msgtest.c | 1 + rgmanager/src/daemons/dtest.c | 12 +----------- rgmanager/src/daemons/main.c | 6 ------ 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/rgmanager/src/clulib/msgtest.c b/rgmanager/src/clulib/msgtest.c index 478ab2f..5fe6818 100644 --- a/rgmanager/src/clulib/msgtest.c +++ b/rgmanager/src/clulib/msgtest.c @@ -160,6 +160,7 @@ side_message(msgctx_t *ctx) return 0; } + void sigusr2_handler(int sig) { diff --git a/rgmanager/src/daemons/dtest.c b/rgmanager/src/daemons/dtest.c index 4e8ad9a..3651865 100644 --- a/rgmanager/src/daemons/dtest.c +++ b/rgmanager/src/daemons/dtest.c @@ -25,10 +25,6 @@ #define ccs_get(fd, query, ret) conf_get(query, ret) #endif -void malloc_stats(void); -void malloc_dump_table(void); - - resource_rule_t *rules = NULL; resource_t *resources = NULL; resource_node_t *restree = NULL; @@ -679,11 +675,7 @@ dep_check_operation(char *res, int operation, int target, continue; } - if (!strcmp(curr, "table")) { - malloc_dump_table(); - } else { - printf("Unknown command '%s %s'\n", tmp , curr); - } + printf("Unknown command '%s %s'\n", tmp , curr); } else { printf("Unknown command '%s'\n", curr); } @@ -808,8 +800,6 @@ out: destroy_resources(&resources); deconstruct_domains(&domains); destroy_resource_rules(&rules); - - malloc_dump_table(); return ret; } diff --git a/rgmanager/src/daemons/main.c b/rgmanager/src/daemons/main.c index fc1a6ec..f800ab0 100644 --- a/rgmanager/src/daemons/main.c +++ b/rgmanager/src/daemons/main.c @@ -53,7 +53,6 @@ static char *rgmanager_lsname = "rgmanager"; /* XXX default */ static int status_poll_interval = DEFAULT_CHECK_INTERVAL; int next_node_id(cluster_member_list_t *membership, int me); -void malloc_dump_table(FILE *, size_t, size_t); void segfault(int __attribute__ ((unused)) sig) @@ -690,7 +689,6 @@ dump_internal_state(char *loc) dump_thread_states(fp); #endif dump_cluster_ctx(fp); - //malloc_dump_table(fp, 1, 16384); /* Only works if alloc.c us used */ fclose(fp); } @@ -822,9 +820,6 @@ statedump(int __attribute__ ((unused)) sig) } -void malloc_dump_table(FILE *, size_t, size_t); - - /* * Configure logging based on data in cluster.conf */ @@ -1132,7 +1127,6 @@ out: cman_finish(clu); close_logging(); - /*malloc_dump_table(); */ /* Only works if alloc.c us used */ /*malloc_stats();*/ daemon_cleanup();
reply other threads:[~2009-05-05 17:02 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090505170132.E04C812026D@lists.fedorahosted.org \ --to=lon@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).