summaryrefslogtreecommitdiffstats
path: root/runtime/docs/examples/map.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-06-18 07:24:42 +0000
committerhunt <hunt>2005-06-18 07:24:42 +0000
commite5d2abb56ca57a613e4ef9398a6499190b2265be (patch)
tree083465047d73bc498f2278d2eb3dc8514b455ad3 /runtime/docs/examples/map.c
parentef0e92b0335077884edd5ac9997a203bec1839b0 (diff)
downloadsystemtap-steved-e5d2abb56ca57a613e4ef9398a6499190b2265be.tar.gz
systemtap-steved-e5d2abb56ca57a613e4ef9398a6499190b2265be.tar.xz
systemtap-steved-e5d2abb56ca57a613e4ef9398a6499190b2265be.zip
2005-06-18 Martin Hunt <hunt@redhat.com>
* counter.c: New file. Counter aggregations. * stat.c: New file. Stat aggregations. * stat.h: Header file for stats. * map-int.c: New file. Support for int64 values. * map-stat.c: New file. Support for stat values. * map-str.c: New file. Support for string values. * map-values.c: Now just includes the necessary map-*.c files. * stat-common.c: New file. Stats stuff common to Stats and maps containing stats. * Doxyfile: Bumped version to 0.6. * README: Renamed README.doc and reorganized.
Diffstat (limited to 'runtime/docs/examples/map.c')
-rw-r--r--runtime/docs/examples/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/docs/examples/map.c b/runtime/docs/examples/map.c
index ca661d05..f5f6f19f 100644
--- a/runtime/docs/examples/map.c
+++ b/runtime/docs/examples/map.c
@@ -1,6 +1,6 @@
/* create a map with a max of 100 elements */
-MAP mymap = map_new(100, INT64);
+MAP mymap = _stp_map_new(100, INT64);
/* mymap[birth year] = 2000 */
map_key_str (mymap, "birth year");