[LU-1425] GCOV support. Lustre should be able to be build with -fprofile-arcs -ftest-coverage compile options Created: 21/May/12  Updated: 21/Nov/12  Resolved: 06/Sep/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.2.0
Fix Version/s: Lustre 2.4.0

Type: Improvement Priority: Minor
Reporter: Artem Blagodarenko (Inactive) Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: patch

Rank (Obsolete): 4464

 Description   

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 fix this problem some modifications are required.



 Comments   
Comment by Artem Blagodarenko (Inactive) [ 21/May/12 ]

Moderators, please, change issue's title to "GCOV support. Lustre should be able to be build with -fprofile-arcs -ftest-coverage compile options". Thanks.

Comment by Artem Blagodarenko (Inactive) [ 21/May/12 ]

Patch is placed to http://review.whamcloud.com/2844

Comment by Peter Jones [ 06/Sep/12 ]

Landed for 2.4

Comment by James A Simmons [ 10/Sep/12 ]

When I updated my tree I discovered I couldn't build master. I traced it down to this patch. The reason for the breakage is that I build normally with --disable-liblustre. Is having liblustre a requirement now?

Comment by Artem Blagodarenko (Inactive) [ 10/Sep/12 ]

I have tried to build master with and without --disable-liblustre. No problems. SL6 2.6.32-279.5.1.el6.

Could you, please, write here error log and environment description?
Thanks.

Comment by Nathan Rutman [ 21/Nov/12 ]

Xyratex-bug-id: MRP-526

Generated at Sat Feb 10 01:16:31 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.