Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oops. Ignore. #14

Closed
wants to merge 9 commits into from
10 changes: 1 addition & 9 deletions driver/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@

dtracedrv-objs := \
ctf_hash.o \
ctf_lookup.o \
ctf_mod.o \
ctf_open.o \
ctf_struct.o \
ctf_subr.o \
ctf_types.o \
ctf_util.o \
../libctf.a \
ctl.o \
cpu_x86.o \
cyclic_linux.o \
Expand Down Expand Up @@ -39,7 +32,6 @@ dtracedrv-objs := \
tcp.o \
toxic.o \
instr_size.o \
uncompress.o \
vminfo.o \
x_call.o
ifdef BUILD_i386
Expand Down
5 changes: 1 addition & 4 deletions driver/mutex.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,8 @@ static const int disable_ints;
void
dmutex_init(mutex_t *mp)
{
static DEFINE_SEMAPHORE(null_sema);

memset(mp, 0, sizeof *mp);
mp->m_sem = null_sema;
// sema_init(&mp->m_sem, 1);
sema_init(&mp->m_sem, 1);
mp->m_initted = TRUE;
}

Expand Down
4 changes: 2 additions & 2 deletions libdtrace/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ $(LIB): \
$(LIB)(stubs.o)

dt_errtags.c: dt_errtags.h mkerrtags.sh
mkerrtags.sh <dt_errtags.h > dt_errtags.c
./mkerrtags.sh <dt_errtags.h > dt_errtags.c
dt_names.c: mknames.sh
mknames.sh <../../uts/common/sys/dtrace.h | sed -e 's/\\n/\n/g' > dt_names.c
./mknames.sh <../../uts/common/sys/dtrace.h | sed -e 's/\\n/\n/g' > dt_names.c

$(BINDIR)/dt_grammar.h $(LIB)(dt_grammar.o): dt_grammar.y $(H)
../tools/yacc.pl -d dt_grammar.y
Expand Down