summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.c
diff options
context:
space:
mode:
authorfche <fche>2005-07-14 18:32:49 +0000
committerfche <fche>2005-07-14 18:32:49 +0000
commit3e1affadc407369714d697518d8a562acd4373f7 (patch)
treefac56803fb20457b9589f9fdcf0754a40ac6112a /runtime/stpd/librelay.c
parentfe44201854bc9258128de32bed4e31017723c04c (diff)
downloadsystemtap-steved-3e1affadc407369714d697518d8a562acd4373f7.tar.gz
systemtap-steved-3e1affadc407369714d697518d8a562acd4373f7.tar.xz
systemtap-steved-3e1affadc407369714d697518d8a562acd4373f7.zip
2005-07-14 Frank Ch. Eigler <fche@redhat.com>
* stpd.c (main): Pass !quiet mode to init_stp(). * librelay.c (init_relayfs): Be quiet if !print_totals.
Diffstat (limited to 'runtime/stpd/librelay.c')
-rw-r--r--runtime/stpd/librelay.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c
index 4538d741..d7b104d0 100644
--- a/runtime/stpd/librelay.c
+++ b/runtime/stpd/librelay.c
@@ -437,8 +437,9 @@ int init_relayfs(void)
}
}
- printf("Using channel with %u sub-buffers of size %u.\n",
- params.n_subbufs, params.subbuf_size);
+ if (print_totals)
+ printf("Using channel with %u sub-buffers of size %u.\n",
+ params.n_subbufs, params.subbuf_size);
return 0;
err: