Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2015 10:33:05 +0000
From:      David Chisnall <theraven@FreeBSD.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, Gleb Smirnoff <glebius@FreeBSD.org>, src-committers@freebsd.org
Subject:   Re: svn commit: r279764 - head/sys/vm
Message-ID:  <FD07BD41-11A9-4277-B119-CE6EEEEA01A9@FreeBSD.org>
In-Reply-To: <20150310101812.GS2379@kib.kiev.ua>
References:  <201503080213.t282DlXj012465@svn.freebsd.org> <20150310100141.GS17947@FreeBSD.org> <20150310101812.GS2379@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 Mar 2015, at 10:18, Konstantin Belousov <kostikbel@gmail.com> =
wrote:
>=20
> Because you cannot grep for the panic string when __func__ is used.

The userspace assert uses __func__, __FILE__ and __LINE__, which means =
that you never need to grep the source code to find out where the assert =
came from: the assertion message tells you precisely where to go.

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FD07BD41-11A9-4277-B119-CE6EEEEA01A9>