Whamcloud - gitweb
LU-2503 libcfs: Call lbug_with_loc() in LASSERT()
authorJohn L. Hammond <jhammond@tacc.utexas.edu>
Mon, 17 Dec 2012 23:07:27 +0000 (17:07 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jan 2013 05:30:02 +0000 (00:30 -0500)
commit2668b5ab52f1a004c4d4383c648d0184467b8a2f
tree9fef8fc32c2dd3449ae5dcc9321956f441f328c2
parentebb883e51491077ba08fe5a035cb6b089de2061f
LU-2503 libcfs: Call lbug_with_loc() in LASSERT()

LASSERT() declares a msgdata which can be passed to lbug_with_loc()
instead of calling LBUG() thereby saving /millions/ of bytes.  Also
remove unused libcfs_assertion_failed().

Signed-off-by: John L. Hammond <jhammond@tacc.utexas.edu>
Change-Id: Iac267c7804b5e18f687f47b2eea585c655e7bb21
Reviewed-on: http://review.whamcloud.com/4844
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
libcfs/include/libcfs/libcfs_private.h
libcfs/libcfs/posix/posix-debug.c
libcfs/libcfs/tracefile.c