1818977e6b58af25f574343d5221e7e62450cd89
[benchmarks.git] / ust-systemtap-tracepoints / Makefile
1 CC=gcc
2 CFLAGS=-g -Wall -DHAVE_SYSTEMTAP
3 LDFLAGS=-lust
4 DTRACE=dtrace
5 STAP=stap
6
7 TARGETS=probes.h probes.o tracepoint_benchmark testutrace
8
9 all: $(TARGETS)
10
11 clean:
12 rm $(TARGETS)
13
14 tracepoint_benchmark:
15 $(CC) $(CFLAGS) $(LDFLAGS) tracepoint_benchmark.c probes.o -o tracepoint_benchmark
16
17 probes.h: probes.d
18 $(DTRACE) -C -h -s $< -o $@
19 probes.o: probes.d
20 $(DTRACE) -C -G -s $< -o $@
21 testutrace:
22 $(STAP) -p4 testutrace.stp
23
This page took 0.027715 seconds and 3 git commands to generate.