From 3b5ab982d758481ccd5003348391bea0b775d34b Mon Sep 17 00:00:00 2001 From: Masami Hiramatsu Date: Wed, 30 Apr 2008 11:48:25 -0400 Subject: PR5645: Fix sub-buffer size calculation and debug messages. --- runtime/staprun/ChangeLog | 5 +++++ runtime/staprun/stapio.c | 2 +- runtime/staprun/staprun.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'runtime/staprun') diff --git a/runtime/staprun/ChangeLog b/runtime/staprun/ChangeLog index 9e0ccb73..2c09f8e2 100644 --- a/runtime/staprun/ChangeLog +++ b/runtime/staprun/ChangeLog @@ -1,3 +1,8 @@ +2008-04-30 Masami Hiramatsu + + * stapio.c (main): Fix a typo in a debug message. + * staprun.c (main): Ditto. + 2008-04-24 Frank Ch. Eigler PR 6451. diff --git a/runtime/staprun/stapio.c b/runtime/staprun/stapio.c index b591244f..3c8c4f7f 100644 --- a/runtime/staprun/stapio.c +++ b/runtime/staprun/stapio.c @@ -30,7 +30,7 @@ int main(int argc, char **argv) parse_args(argc, argv); if (buffer_size) - dbug(1, "Using a buffer of %u bytes.\n", buffer_size); + dbug(1, "Using a buffer of %u MB.\n", buffer_size); if (optind < argc) { parse_modpath(argv[optind++]); diff --git a/runtime/staprun/staprun.c b/runtime/staprun/staprun.c index ee9bdc7b..0291d01f 100644 --- a/runtime/staprun/staprun.c +++ b/runtime/staprun/staprun.c @@ -230,7 +230,7 @@ int main(int argc, char **argv) parse_args(argc, argv); if (buffer_size) - dbug(2, "Using a buffer of %u bytes.\n", buffer_size); + dbug(2, "Using a buffer of %u MB.\n", buffer_size); if (optind < argc) { parse_modpath(argv[optind++]); -- cgit