From f541970f10c03b788141b359689e2a847b7684c4 Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 31 May 2005 20:19:47 +0000 Subject: Updated to use new _stp_map_print(). --- runtime/probes/test4/test4.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/probes/test4/test4.c') 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); -- cgit