summaryrefslogtreecommitdiffstats
path: root/runtime/probes/tasklet
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/tasklet
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/tasklet')
-rw-r--r--runtime/probes/tasklet/Makefile21
-rwxr-xr-xruntime/probes/tasklet/build2
-rw-r--r--runtime/probes/tasklet/targets1
3 files changed, 3 insertions, 21 deletions
diff --git a/runtime/probes/tasklet/Makefile b/runtime/probes/tasklet/Makefile
deleted file mode 100644
index a15e643f..00000000
--- a/runtime/probes/tasklet/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# Makefile
-
-PWD := $(shell pwd)
-RT := $(PWD)/../..
-KVERSION := $(shell uname -r)
-KDIR := /lib/modules/$(KVERSION)/build include
-
-KALLSYMS_LOOKUP_NAME := 0x$(firstword $(shell grep " kallsyms_lookup_name" /boot/System.map-$(KVERSION)))
-KALLSYMS_LOOKUP := 0x$(firstword $(shell grep " kallsyms_lookup$$" /boot/System.map-$(KVERSION)))
-KTA := 0x$(firstword $(shell grep "__kernel_text_address" /boot/System.map-$(KVERSION)))
-
-EXTRA_CFLAGS := -I $(RT) -I $(RT)/relayfs -D KALLSYMS_LOOKUP_NAME=$(KALLSYMS_LOOKUP_NAME) -D KALLSYMS_LOOKUP=$(KALLSYMS_LOOKUP)
-
-obj-m := tasklet.o
-
-
-default:
- $(MAKE) V=1 -C $(KDIR) M=$(PWD) RT=$(RT) modules
-
-clean:
- /bin/rm -rf *.o *.ko *~ *.mod.c .*.cmd .tmp_versions
diff --git a/runtime/probes/tasklet/build b/runtime/probes/tasklet/build
new file mode 100755
index 00000000..f3e83244
--- /dev/null
+++ b/runtime/probes/tasklet/build
@@ -0,0 +1,2 @@
+#!/bin/bash
+../build_probe $*
diff --git a/runtime/probes/tasklet/targets b/runtime/probes/tasklet/targets
new file mode 100644
index 00000000..236dbd95
--- /dev/null
+++ b/runtime/probes/tasklet/targets
@@ -0,0 +1 @@
+stp_tasklet