summaryrefslogtreecommitdiffstats
path: root/runtime/probes/scf/scf.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-06-18 07:06:38 +0000
committerhunt <hunt>2005-06-18 07:06:38 +0000
commit22ccaa9985211ad13e8486bf2845114f409df55d (patch)
treedc4c286990a692ef0b5991b81405bb7b10292392 /runtime/probes/scf/scf.c
parentb55bc428b7e03ce7bcf6ec1eb502f5f443fbd0b8 (diff)
downloadsystemtap-steved-22ccaa9985211ad13e8486bf2845114f409df55d.tar.gz
systemtap-steved-22ccaa9985211ad13e8486bf2845114f409df55d.tar.xz
systemtap-steved-22ccaa9985211ad13e8486bf2845114f409df55d.zip
2005-06-18 Martin Hunt <hunt@redhat.com>
* build: Modified to use build_probe. * build_probe: New file. This does the work of building a single probe or set of probes in a directory. * Makefile.template: New file. Template used by build_probe to create Makefiles. * agg: New set of probes to test/demonstrate Counter and Stat aggregations. * all probes modified for latest changes and new build process.
Diffstat (limited to 'runtime/probes/scf/scf.c')
-rw-r--r--runtime/probes/scf/scf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/probes/scf/scf.c b/runtime/probes/scf/scf.c
index dfdb7b0a..a8798f51 100644
--- a/runtime/probes/scf/scf.c
+++ b/runtime/probes/scf/scf.c
@@ -1,14 +1,12 @@
#define STP_NETLINK_ONLY
-#define STP_NUM_STRINGS 2
+#define STP_NUM_STRINGS 1
#include "runtime.h"
#define MAP_STRING_LENGTH 512
+#define NEED_INT64_VALS
#define KEY1_TYPE STRING
#include "map-keys.c"
-#define VALUE_TYPE INT64
-#include "map-values.c"
-
#include "map.c"
#include "sym.c"
#include "current.c"