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/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/probes/where_func/Makefile b/runtime/probes/where_func/Makefile
new file mode 100644
index 00000000..1e6b9d2e
--- /dev/null
+++ b/runtime/probes/where_func/Makefile
@@ -0,0 +1,11 @@
+# Makefile
+#
+#
+# make -C path/to/kernel/src M=`pwd` modules STP_RUNTIME=path_to_systemtap_rt
+
+CFLAGS += -I $(STP_RUNTIME) -D KALLSYMS_LOOKUP_NAME=$(KALLSYMS_LOOKUP_NAME) \
+ -D KALLSYMS_LOOKUP=$(KALLSYMS_LOOKUP)
+obj-m := kprobe_where_funct.o
+
+clean:
+ /bin/rm -rf *.o *.ko *~ *.mod.c .*.cmd .tmp_versions