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