Whamcloud - gitweb
LU-1425 build: make Lustre build ready for gcov
authorArtem Blagodarenko <artem_blagodarenko@xyratex.com>
Mon, 21 May 2012 13:49:38 +0000 (17:49 +0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 6 Sep 2012 14:22:58 +0000 (10:22 -0400)
commitbfb38a047e0fc12e68a7aa3a2d2ec7a6e9d696ed
tree426651826b2e0911519fecebfb6140c385f6777b
parent6a6561972406043efe41ae43b64fd278f360a4b9
LU-1425 build: make Lustre build ready for gcov

gcov requires profiled code to be built with compiler options
-fprofile-arcs -ftest-coverage. To profile all project this
options should be passed during every source file compilation.
This option enable debug logging. No all Lustre parts are ready
for debug logging now.

To patch adds debug librarias where needed and resolve
linking conflicts. Do not influence when no
-fprofile-arcs -ftest-coverage compile options are
passed.

Xyratex-bug-id: MRP-526
Reviewed-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
Reviewed-by: Alexander Boyko <alexander_boyko@xyratex.com>
Signed-off-by: Artem Blagodarenko <artem_blagodarenko@xyratex.com>
Change-Id: If5c1742f3263faf48c2c5d8457c1af36a29408d4
Reviewed-on: http://review.whamcloud.com/2844
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Brian J. Murrell <brian@whamcloud.com>
libcfs/libcfs/posix/posix-debug.c
lnet/utils/Makefile.am
lnet/utils/lstclient.c
lustre/liblustre/Makefile.am
lustre/liblustre/lutil.c
lustre/tests/Makefile.am
lustre/tests/mpi/Makefile.am
lustre/utils/Makefile.am
lustre/utils/lfs.c