Print this page
4474 DTrace Userland CTF Support
4475 DTrace userland Keyword
4476 DTrace tests should be better citizens
4479 pid provider types
4480 dof emulation missing checks
Reviewed by: Bryan Cantrill <bryan@joyent.com>

*** 24,34 **** # Use is subject to license terms. # # # Copyright (c) 2012 by Delphix. All rights reserved. ! # Copyright (c) 2012, Joyent, Inc. All rights reserved. # include $(SRC)/Makefile.master include ../Makefile.com --- 24,39 ---- # Use is subject to license terms. # # # Copyright (c) 2012 by Delphix. All rights reserved. ! # Copyright (c) 2013, Joyent, Inc. All rights reserved. ! # ! ! # ! # WARNING: Do not include Makefile.ctf here. That will cause tests to ! # break. # include $(SRC)/Makefile.master include ../Makefile.com
*** 83,92 **** --- 88,129 ---- json/tst.usdt.exe: json/tst.usdt.o json/usdt.o $(LINK.c) -o json/tst.usdt.exe json/tst.usdt.o json/usdt.o $(LDLIBS) $(POST_PROCESS) ; $(STRIP_STABS) + # + # Tests that use the next three programs rely on the binaries having + # valid CTF data. + # + uctf/tst.aouttype.exe: uctf/tst.aouttype.c + $(COMPILE.c) $(CTF_FLAGS) -o uctf/tst.aouttype.o uctf/tst.aouttype.c + $(CTFCONVERT) -i -L VERSION uctf/tst.aouttype.o + $(LINK.c) -o uctf/tst.aouttype.exe uctf/tst.aouttype.o $(LDLIBS) + $(CTFMERGE) -L VERSION -o $@ uctf/tst.aouttype.o + $(POST_PROCESS) ; $(STRIP_STABS) + + uctf/tst.chasestrings.exe: uctf/tst.chasestrings.c + $(COMPILE.c) $(CTF_FLAGS) -o uctf/tst.chasestrings.o uctf/tst.chasestrings.c + $(CTFCONVERT) -i -L VERSION uctf/tst.chasestrings.o + $(LINK.c) -o uctf/tst.chasestrings.exe uctf/tst.chasestrings.o $(LDLIBS) + $(CTFMERGE) -L VERSION -o $@ uctf/tst.chasestrings.o + $(POST_PROCESS) ; $(STRIP_STABS) + + uctf/tst.printtype.exe: uctf/tst.printtype.c + $(COMPILE.c) $(CTF_FLAGS) -o uctf/tst.printtype.o uctf/tst.printtype.c + $(CTFCONVERT) -i -L VERSION uctf/tst.printtype.o + $(LINK.c) -o uctf/tst.printtype.exe uctf/tst.printtype.o $(LDLIBS) + $(CTFMERGE) -L VERSION -o $@ uctf/tst.printtype.o + $(POST_PROCESS) ; $(STRIP_STABS) + + # + # This program should never have any ctf data in it. + # + uctf/tst.libtype.exe: + $(LINK.c) -o uctf/tst.libtype.exe uctf/tst.libtype.c $(LDLIBS) + $(POST_PROCESS) ; $(STRIP_STABS) + usdt/tst.args.exe: usdt/tst.args.o usdt/args.o $(LINK.c) -o usdt/tst.args.exe usdt/tst.args.o usdt/args.o $(LDLIBS) $(POST_PROCESS) ; $(STRIP_STABS) usdt/args.o: usdt/args.d usdt/tst.args.o