summaryrefslogtreecommitdiffstats
path: root/runtime/probes/test4
diff options
context:
space:
mode:
authorhunt <hunt>2005-05-31 20:19:47 +0000
committerhunt <hunt>2005-05-31 20:19:47 +0000
commitf541970f10c03b788141b359689e2a847b7684c4 (patch)
treea586bfd1ed2ccb9d6895d9745c2af31570c12f76 /runtime/probes/test4
parenta7b49c5a613f185067ed07f7bfcbb02d14a5ed1f (diff)
downloadsystemtap-steved-f541970f10c03b788141b359689e2a847b7684c4.tar.gz
systemtap-steved-f541970f10c03b788141b359689e2a847b7684c4.tar.xz
systemtap-steved-f541970f10c03b788141b359689e2a847b7684c4.zip
Updated to use new _stp_map_print().
Diffstat (limited to 'runtime/probes/test4')
-rw-r--r--runtime/probes/test4/test4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/probes/test4/test4.c b/runtime/probes/test4/test4.c
index f4b6c9b0..f89cc6b9 100644
--- a/runtime/probes/test4/test4.c
+++ b/runtime/probes/test4/test4.c
@@ -92,9 +92,9 @@ static void probe_exit (void)
{
_stp_unregister_jprobes (stp_probes, MAX_STP_ROUTINE);
- _stp_map_print (opens,"opens");
- _stp_map_print (reads,"reads");
- _stp_map_print (writes,"writes");
+ _stp_map_print (opens,"%d opens by process \"%1s\"");
+ _stp_map_print (reads,"reads by process \"%1s\": %C. Total bytes=%S. Average: %A\n%H");
+ _stp_map_print (writes,"writes by process \"%1s\": %C. Total bytes=%S. Average: %A\n%H");
_stp_map_del (opens);
_stp_map_del (reads);