Print this page
dccp: basic dtrace


  56         dt_print.c \
  57         dt_printf.c \
  58         dt_proc.c \
  59         dt_provider.c \
  60         dt_regset.c \
  61         dt_string.c \
  62         dt_strtab.c \
  63         dt_subr.c \
  64         dt_work.c \
  65         dt_xlator.c
  66 
  67 LIBISASRCS = \
  68         dt_isadep.c
  69 
  70 OBJECTS = dt_lex.o dt_grammar.o $(MACHOBJS) $(LIBSRCS:%.c=%.o) $(LIBISASRCS:%.c=%.o)
  71 
  72 DRTISRC = drti.c
  73 DRTIOBJ = $(DRTISRC:%.c=%.o)
  74 
  75 DLIBSRCS += \

  76         errno.d \
  77         fc.d \
  78         io.d \
  79         ip.d \
  80         iscsit.d \
  81         net.d \
  82         nfs.d \
  83         nfssrv.d \
  84         procfs.d \
  85         regs.d \
  86         sched.d \
  87         signal.d \
  88         scsi.d \
  89         srp.d \
  90         sysevent.d \
  91         tcp.d \
  92         udp.d \
  93         unistd.d
  94 
  95 include ../../Makefile.lib
  96 
  97 SRCS = $(LIBSRCS:%.c=../common/%.c) $(LIBISASRCS:%.c=../$(MACH)/%.c) 
  98 LIBS = $(DYNLIB) $(LINTLIB)
  99 
 100 SRCDIR = ../common
 101 
 102 CLEANFILES += dt_lex.c dt_grammar.c dt_grammar.h y.output
 103 CLEANFILES += ../common/procfs.sed ../common/procfs.d
 104 CLEANFILES += ../common/io.sed ../common/io.d
 105 CLEANFILES += ../common/ip.sed ../common/ip.d
 106 CLEANFILES += ../common/net.sed ../common/net.d
 107 CLEANFILES += ../common/errno.d ../common/signal.d
 108 CLEANFILES += ../common/dt_errtags.c ../common/dt_names.c
 109 CLEANFILES += ../common/sysevent.sed ../common/sysevent.d
 110 CLEANFILES += ../common/tcp.sed ../common/tcp.d
 111 CLEANFILES += ../common/udp.sed ../common/udp.d

 112 
 113 CLOBBERFILES += drti.o
 114 
 115 CPPFLAGS += -I../common -I.
 116 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
 117 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
 118 YYCFLAGS =
 119 LDLIBS += -lgen -lproc -lrtld_db -lnsl -lsocket -lctf -lelf -lc
 120 DRTILDLIBS = $(LDLIBS.lib) -lc
 121 
 122 yydebug := YYCFLAGS += -DYYDEBUG
 123 
 124 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
 125 
 126 LFLAGS = -t -v
 127 YFLAGS = -d -v
 128 
 129 ROOTDLIBDIR = $(ROOT)/usr/lib/dtrace
 130 ROOTDLIBDIR64 = $(ROOT)/usr/lib/dtrace/64
 131 


 176         sed -f ../common/procfs.sed < ../common/procfs.d.in > $@
 177 
 178 ../common/io.d: ../common/io.sed ../common/io.d.in
 179         sed -f ../common/io.sed < ../common/io.d.in > $@
 180 
 181 ../common/ip.d: ../common/ip.sed ../common/ip.d.in
 182         sed -f ../common/ip.sed < ../common/ip.d.in > $@
 183 
 184 ../common/net.d: ../common/net.sed ../common/net.d.in
 185         sed -f ../common/net.sed < ../common/net.d.in > $@
 186 
 187 ../common/sysevent.d: ../common/sysevent.sed ../common/sysevent.d.in
 188         sed -f ../common/sysevent.sed < ../common/sysevent.d.in > $@
 189 
 190 ../common/tcp.d: ..//common/tcp.sed ../common/tcp.d.in
 191         sed -f ../common/tcp.sed < ../common/tcp.d.in > $@
 192 
 193 ../common/udp.d: ../common/udp.sed ../common/udp.d.in
 194         sed -f ../common/udp.sed < ../common/udp.d.in > $@
 195 



 196 pics/%.o: ../$(MACH)/%.c
 197         $(COMPILE.c) -o $@ $<
 198         $(POST_PROCESS_O)
 199 
 200 pics/%.o: ../$(MACH)/%.s
 201         $(COMPILE.s) -o $@ $<
 202         $(POST_PROCESS_O)
 203 
 204 %.o: ../common/%.c
 205         $(COMPILE.c) -o $@ $<
 206         $(POST_PROCESS_O)
 207 
 208 $(ROOTDLIBDIR):
 209         $(INS.dir)
 210 
 211 $(ROOTDLIBDIR64): $(ROOTDLIBDIR)
 212         $(INS.dir)
 213 
 214 $(ROOTDLIBDIR)/%.d: ../common/%.d
 215         $(INS.file)


  56         dt_print.c \
  57         dt_printf.c \
  58         dt_proc.c \
  59         dt_provider.c \
  60         dt_regset.c \
  61         dt_string.c \
  62         dt_strtab.c \
  63         dt_subr.c \
  64         dt_work.c \
  65         dt_xlator.c
  66 
  67 LIBISASRCS = \
  68         dt_isadep.c
  69 
  70 OBJECTS = dt_lex.o dt_grammar.o $(MACHOBJS) $(LIBSRCS:%.c=%.o) $(LIBISASRCS:%.c=%.o)
  71 
  72 DRTISRC = drti.c
  73 DRTIOBJ = $(DRTISRC:%.c=%.o)
  74 
  75 DLIBSRCS += \
  76         dccp.d \
  77         errno.d \
  78         fc.d \
  79         io.d \
  80         ip.d \
  81         iscsit.d \
  82         net.d \
  83         nfs.d \
  84         nfssrv.d \
  85         procfs.d \
  86         regs.d \
  87         sched.d \
  88         signal.d \
  89         scsi.d \
  90         srp.d \
  91         sysevent.d \
  92         tcp.d \
  93         udp.d \
  94         unistd.d
  95 
  96 include ../../Makefile.lib
  97 
  98 SRCS = $(LIBSRCS:%.c=../common/%.c) $(LIBISASRCS:%.c=../$(MACH)/%.c) 
  99 LIBS = $(DYNLIB) $(LINTLIB)
 100 
 101 SRCDIR = ../common
 102 
 103 CLEANFILES += dt_lex.c dt_grammar.c dt_grammar.h y.output
 104 CLEANFILES += ../common/procfs.sed ../common/procfs.d
 105 CLEANFILES += ../common/io.sed ../common/io.d
 106 CLEANFILES += ../common/ip.sed ../common/ip.d
 107 CLEANFILES += ../common/net.sed ../common/net.d
 108 CLEANFILES += ../common/errno.d ../common/signal.d
 109 CLEANFILES += ../common/dt_errtags.c ../common/dt_names.c
 110 CLEANFILES += ../common/sysevent.sed ../common/sysevent.d
 111 CLEANFILES += ../common/tcp.sed ../common/tcp.d
 112 CLEANFILES += ../common/udp.sed ../common/udp.d
 113 CLEANFILES += ../common/dccp.sed ../common/dccp.d
 114 
 115 CLOBBERFILES += drti.o
 116 
 117 CPPFLAGS += -I../common -I.
 118 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
 119 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
 120 YYCFLAGS =
 121 LDLIBS += -lgen -lproc -lrtld_db -lnsl -lsocket -lctf -lelf -lc
 122 DRTILDLIBS = $(LDLIBS.lib) -lc
 123 
 124 yydebug := YYCFLAGS += -DYYDEBUG
 125 
 126 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
 127 
 128 LFLAGS = -t -v
 129 YFLAGS = -d -v
 130 
 131 ROOTDLIBDIR = $(ROOT)/usr/lib/dtrace
 132 ROOTDLIBDIR64 = $(ROOT)/usr/lib/dtrace/64
 133 


 178         sed -f ../common/procfs.sed < ../common/procfs.d.in > $@
 179 
 180 ../common/io.d: ../common/io.sed ../common/io.d.in
 181         sed -f ../common/io.sed < ../common/io.d.in > $@
 182 
 183 ../common/ip.d: ../common/ip.sed ../common/ip.d.in
 184         sed -f ../common/ip.sed < ../common/ip.d.in > $@
 185 
 186 ../common/net.d: ../common/net.sed ../common/net.d.in
 187         sed -f ../common/net.sed < ../common/net.d.in > $@
 188 
 189 ../common/sysevent.d: ../common/sysevent.sed ../common/sysevent.d.in
 190         sed -f ../common/sysevent.sed < ../common/sysevent.d.in > $@
 191 
 192 ../common/tcp.d: ..//common/tcp.sed ../common/tcp.d.in
 193         sed -f ../common/tcp.sed < ../common/tcp.d.in > $@
 194 
 195 ../common/udp.d: ../common/udp.sed ../common/udp.d.in
 196         sed -f ../common/udp.sed < ../common/udp.d.in > $@
 197 
 198 ../common/dccp.d: ../common/dccp.sed ../common/dccp.d.in
 199         sed -f ../common/dccp.sed < ../common/dccp.d.in > $@
 200 
 201 pics/%.o: ../$(MACH)/%.c
 202         $(COMPILE.c) -o $@ $<
 203         $(POST_PROCESS_O)
 204 
 205 pics/%.o: ../$(MACH)/%.s
 206         $(COMPILE.s) -o $@ $<
 207         $(POST_PROCESS_O)
 208 
 209 %.o: ../common/%.c
 210         $(COMPILE.c) -o $@ $<
 211         $(POST_PROCESS_O)
 212 
 213 $(ROOTDLIBDIR):
 214         $(INS.dir)
 215 
 216 $(ROOTDLIBDIR64): $(ROOTDLIBDIR)
 217         $(INS.dir)
 218 
 219 $(ROOTDLIBDIR)/%.d: ../common/%.d
 220         $(INS.file)