summaryrefslogtreecommitdiffstats
path: root/runtime/probes/where_func/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/probes/where_func/Makefile')
-rw-r--r--runtime/probes/where_func/Makefile21
1 files changed, 0 insertions, 21 deletions
diff --git a/runtime/probes/where_func/Makefile b/runtime/probes/where_func/Makefile
deleted file mode 100644
index c2c7d6bd..00000000
--- a/runtime/probes/where_func/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) -DKTA=$(KTA)
-
-obj-m := kprobe_where_funct.o
-
-
-default:
- $(MAKE) V=1 -C $(KDIR) M=$(PWD) RT=$(RT) modules
-
-clean:
- /bin/rm -rf *.o *.ko *~ *.mod.c .*.cmd .tmp_versions