Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2019 21:35:35 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Conrad Meyer <cem@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r347229 - in head: lib/libsbuf lib/libsbuf/tests share/man/man9 sys/kern sys/sys
Message-ID:  <20190507183534.GW2748@kib.kiev.ua>
In-Reply-To: <201905071747.x47HlKTh012163@repo.freebsd.org>
References:  <201905071747.x47HlKTh012163@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 07, 2019 at 05:47:20PM +0000, Conrad Meyer wrote:
> Author: cem
> Date: Tue May  7 17:47:20 2019
> New Revision: 347229
> URL: https://svnweb.freebsd.org/changeset/base/347229
> 
> Log:
>   device_printf: Use sbuf for more coherent prints on SMP
>   
>   device_printf does multiple calls to printf allowing other console messages to
>   be inserted between the device name, and the rest of the message.  This change
>   uses sbuf to compose to two into a single buffer, and prints it all at once.
>   
>   It exposes an sbuf drain function (drain-to-printf) for common use.
>   
>   Update documentation to match; some unit tests included.
>   
>   Submitted by:	jmg
>   Sponsored by:	Dell EMC Isilon
>   Differential Revision:	https://reviews.freebsd.org/D16690
> 
> Modified:
>   head/lib/libsbuf/Symbol.map
>   head/lib/libsbuf/tests/sbuf_core_test.c
>   head/lib/libsbuf/tests/sbuf_stdio_test.c
>   head/share/man/man9/Makefile
>   head/share/man/man9/sbuf.9
>   head/sys/kern/kern_sysctl.c
>   head/sys/kern/subr_bus.c
>   head/sys/kern/subr_prf.c
>   head/sys/sys/sbuf.h
> 
> Modified: head/lib/libsbuf/Symbol.map
> ==============================================================================
> --- head/lib/libsbuf/Symbol.map	Tue May  7 16:17:33 2019	(r347228)
> +++ head/lib/libsbuf/Symbol.map	Tue May  7 17:47:20 2019	(r347229)
> @@ -37,5 +37,6 @@ FBSD_1.4 {
>  
>  FBSD_1.5 {
>  	sbuf_putbuf;
> +	sbuf_printf_drain;
>  };
The version is wrong.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190507183534.GW2748>