summaryrefslogtreecommitdiffstats
path: root/runtime/probes/tasklet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/probes/tasklet/Makefile')
-rw-r--r--runtime/probes/tasklet/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/probes/tasklet/Makefile b/runtime/probes/tasklet/Makefile
new file mode 100644
index 00000000..369929c4
--- /dev/null
+++ b/runtime/probes/tasklet/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 := stp_tasklet.o
+
+clean:
+ /bin/rm -rf *.o *.ko *~ *.mod.c .*.cmd .tmp_versions