Real fix for the probe...
[benchmarks.git] / ust-systemtap-tracepoints / Makefile
1 CC=gcc
2 CFLAGS=-g -Wall -DHAVE_SYSTEMTAP
3 LDFLAGS=-lust -lpthread -lurcu-bp
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.0391 seconds and 5 git commands to generate.