diff options
author | hunt <hunt> | 2005-12-07 19:42:44 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-12-07 19:42:44 +0000 |
commit | 872d26246196a87da8551661635cce52c8e5ed3a (patch) | |
tree | 6463913adae10ef742b391aa40f3530eefb2b723 /runtime/tests/pmaps/si.c | |
parent | 406357f996e25314b86e75f9bea436e478637fd1 (diff) | |
download | systemtap-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/si.c')
-rw-r--r-- | runtime/tests/pmaps/si.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/tests/pmaps/si.c b/runtime/tests/pmaps/si.c index 49eb3caf..8b05da74 100644 --- a/runtime/tests/pmaps/si.c +++ b/runtime/tests/pmaps/si.c @@ -13,9 +13,12 @@ int main () { - MAP map = _stp_pmap_new_si(4); + PMAP map = _stp_pmap_new_si(4); int64_t x; + if (!map) + return -1; + /* put some data in. _processor_number is a global hack that allows */ /* us to set the current emulated cpu number for our userspace tests. */ /* Note that we set values based on the cpu number just to show that */ |