diff options
author | hunt <hunt> | 2005-06-18 07:24:42 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-06-18 07:24:42 +0000 |
commit | e5d2abb56ca57a613e4ef9398a6499190b2265be (patch) | |
tree | 083465047d73bc498f2278d2eb3dc8514b455ad3 /runtime/map-keys.c | |
parent | ef0e92b0335077884edd5ac9997a203bec1839b0 (diff) | |
download | systemtap-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/map-keys.c')
-rw-r--r-- | runtime/map-keys.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/map-keys.c b/runtime/map-keys.c index 894d79f5..1dd78f30 100644 --- a/runtime/map-keys.c +++ b/runtime/map-keys.c @@ -1,4 +1,9 @@ /* -*- linux-c -*- */ +/** @file map-keys.c + * @brief Map functions to set and get keys + * This file is a template designed to be included as many times as + * needed to generate the necessary functions to set map keys. + */ #include "map.h" @@ -302,6 +307,7 @@ MAP KEYSYM(_stp_map_new) (unsigned max_entries, int valtype, ...) m = _stp_map_new (max_entries, valtype & 0x0f, sizeof(struct KEYSYM(map_node)), 0); break; +#ifdef NEED_STAT_VALS case HIST_LOG: m = _stp_map_new_hstat_log (max_entries, sizeof(struct KEYSYM(map_node)), buckets); @@ -310,6 +316,7 @@ MAP KEYSYM(_stp_map_new) (unsigned max_entries, int valtype, ...) m = _stp_map_new_hstat_linear (max_entries, sizeof(struct KEYSYM(map_node)), start, stop, interval); break; +#endif default: dbug ("ERROR: unknown histogram type %d\n", htype); m = NULL; @@ -409,3 +416,5 @@ void KEYSYM(_stp_map_key) (MAP map, ALLKEYSD(key)) #undef KEYSYM #undef ALLKEYS #undef ALLKEYSD + +#include "map-values.c" |