Date: Tue, 11 May 2010 18:24:22 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_mutex.c subr_pcpu.c subr_witness.c src/sys/sys lock.h Message-ID: <201005111825.o4BIPexn054496@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2010-05-11 18:24:22 UTC FreeBSD src repository Modified files: sys/kern kern_mutex.c subr_pcpu.c subr_witness.c sys/sys lock.h Log: SVN rev 207929 on 2010-05-11 18:24:22Z by attilio Right now, WITNESS just blindly pipes all the output to the (TOCONS | TOLOG) mask even when called from DDB points. That breaks several output, where the most notable is textdump output. Fix this by having configurable callbacks passed to witness_list_locks() and witness_display_spinlock() for printing out datas. Reported by: several broken textdump outputs Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com> MFC after: 7 days X-MFC: r207922 Revision Changes Path 1.219 +1 -1 src/sys/kern/kern_mutex.c 1.17 +1 -1 src/sys/kern/subr_pcpu.c 1.274 +18 -14 src/sys/kern/subr_witness.c 1.81 +4 -2 src/sys/sys/lock.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005111825.o4BIPexn054496>