summaryrefslogtreecommitdiffstats
path: root/runtime/tests/pmaps/map_format.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-12-07 19:42:44 +0000
committerhunt <hunt>2005-12-07 19:42:44 +0000
commit872d26246196a87da8551661635cce52c8e5ed3a (patch)
tree6463913adae10ef742b391aa40f3530eefb2b723 /runtime/tests/pmaps/map_format.c
parent406357f996e25314b86e75f9bea436e478637fd1 (diff)
downloadsystemtap-steved-872d26246196a87da8551661635cce52c8e5ed3a.tar.gz
systemtap-steved-872d26246196a87da8551661635cce52c8e5ed3a.tar.xz
systemtap-steved-872d26246196a87da8551661635cce52c8e5ed3a.zip
2005-12-07 Martin Hunt <hunt@redhat.com>
* pmaps/*.c: Change pmap type from MAP to PMAP. * pmaps/pmap.test: Adjust results to match the more compact histogram format. * maps/map.test: Adjust results to match the more compact histogram format.
Diffstat (limited to 'runtime/tests/pmaps/map_format.c')
-rw-r--r--runtime/tests/pmaps/map_format.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/tests/pmaps/map_format.c b/runtime/tests/pmaps/map_format.c
index e6c6d9f6..b27506e0 100644
--- a/runtime/tests/pmaps/map_format.c
+++ b/runtime/tests/pmaps/map_format.c
@@ -30,7 +30,7 @@ void inc_cpu(void)
int main ()
{
- MAP mapiis = _stp_pmap_new_iiss(4);
+ PMAP mapiis = _stp_pmap_new_iiss(4);
_processor_number = 0;
_stp_pmap_set_iiss (mapiis, 1,2,"Ohio", "Columbus" );
_stp_pmap_set_iiss (mapiis, 3,4,"California", "Sacramento" );
@@ -44,7 +44,7 @@ int main ()
/* very bad string. don't crash */
_stp_pmap_print (mapiis, "%s -> mapiis %1s %2s %3d %4d");
- MAP mapss = _stp_pmap_new_ssi(4);
+ PMAP mapss = _stp_pmap_new_ssi(4);
_stp_pmap_set_ssi (mapss, "Riga", "Latvia", 0x0000c0dedbad0000LL);
_stp_pmap_set_ssi (mapss, "Sofia", "Bulgaria", 0xdeadf00d12345678LL);
_stp_pmap_set_ssi (mapss, "Valletta", "Malta", 1);
@@ -53,7 +53,7 @@ int main ()
_stp_pmap_print (mapss, "The capitol of %1s is %2s and the nerd population is %x");
_stp_pmap_print (mapss, "The capitol of %1s is %2s and the nerd population is %X");
- MAP mapssx = _stp_pmap_new_ssx (4, HIST_LINEAR, 0, 100, 10 );
+ PMAP mapssx = _stp_pmap_new_ssx (4, HIST_LINEAR, 0, 100, 10 );
int i,j;
for (i = 0; i < 100; i++)