diff options
author | hunt <hunt> | 2005-05-31 19:56:57 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-05-31 19:56:57 +0000 |
commit | a75f0fb713418d4704d0ce9ea892ab939ce9f00f (patch) | |
tree | 2c1792f127cc4aab3d70cf95a0337f89f8438e1d /runtime/tests/maps/ist.c | |
parent | 2e4153f6f3908b6746e8e50194d0a6e8e2f35111 (diff) | |
download | systemtap-steved-a75f0fb713418d4704d0ce9ea892ab939ce9f00f.tar.gz systemtap-steved-a75f0fb713418d4704d0ce9ea892ab939ce9f00f.tar.xz systemtap-steved-a75f0fb713418d4704d0ce9ea892ab939ce9f00f.zip |
added formatting to _stp_map_print() and updated tests.
Diffstat (limited to 'runtime/tests/maps/ist.c')
-rw-r--r-- | runtime/tests/maps/ist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/tests/maps/ist.c b/runtime/tests/maps/ist.c index 24eb6f42..be3ca87d 100644 --- a/runtime/tests/maps/ist.c +++ b/runtime/tests/maps/ist.c @@ -41,8 +41,8 @@ int main () for (j = 0; j < 1024 ; j++ ) _stp_map_add_int64_stat (map2, i); - _stp_map_print (map, "map"); - _stp_map_print (map2, "map2"); + _stp_map_print (map, "map[%1d] = count:%C sum:%S avg:%A min:%m max:%M\n%H"); + _stp_map_print (map2, "map2[%1d] = count:%C sum:%S avg:%A min:%m max:%M\n%H"); _stp_map_del (map); _stp_map_del (map2); |