summaryrefslogtreecommitdiffstats
path: root/runtime/tests/pmaps/map_format.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-11-10 21:19:29 +0000
committerhunt <hunt>2005-11-10 21:19:29 +0000
commitc4f0340669f6c859bfd66e277f235bac457d65d1 (patch)
tree62a54b010c8a41d24a0591236aaf219fed7c4f25 /runtime/tests/pmaps/map_format.c
parent02654aefdaf6d3aaa3ab3f5100cf5e1ce32c1d20 (diff)
downloadsystemtap-steved-c4f0340669f6c859bfd66e277f235bac457d65d1.tar.gz
systemtap-steved-c4f0340669f6c859bfd66e277f235bac457d65d1.tar.xz
systemtap-steved-c4f0340669f6c859bfd66e277f235bac457d65d1.zip
2005-11-10 Martin Hunt <hunt@redhat.com>
* pmaps/ii2.c: New test of maps and pmaps with the same keysym. * pmaps/pmap.test: Update.
Diffstat (limited to 'runtime/tests/pmaps/map_format.c')
-rw-r--r--runtime/tests/pmaps/map_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/tests/pmaps/map_format.c b/runtime/tests/pmaps/map_format.c
index 5b99b64e..e6c6d9f6 100644
--- a/runtime/tests/pmaps/map_format.c
+++ b/runtime/tests/pmaps/map_format.c
@@ -81,7 +81,7 @@ int main ()
/* here's how to print a map without using _stp_pmap_print(). */
_stp_pmap_agg (mapssx);
struct map_node *ptr;
- foreach (AGG_PMAP(mapssx), ptr)
+ foreach (_stp_pmap_get_agg(mapssx), ptr)
_stp_printf ("mapssx[%09s,%09s] = %llX\n", key1str(ptr), key2str(ptr), _stp_get_stat(ptr)->sum);
_stp_print_flush();