Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 651163

Summary: [LTC 5.8 FEAT] Valgrind System z support
Product: Red Hat Enterprise Linux 5 Reporter: IBM Bug Proxy <bugproxy>
Component: valgrindAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact: qe-baseos-tools-bugs
Severity: high Docs Contact:
Priority: medium    
Version: 5.8CC: bgollahe, jjarvis, martinez, mfranc, nobody+PNT0273897, sbest, sglass
Target Milestone: betaKeywords: FutureFeature, OtherQA, Reopened
Target Release: 5.8   
Hardware: s390x   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-19 18:36:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 680163, 690968    

Description IBM Bug Proxy 2010-11-08 22:02:50 UTC
1. Feature Overview:
Feature Id: [67961]
a. Name of Feature: [LTC 5.7 FEAT] Valgrind System z support
b. Feature Description
Request to upgrade Valgrind to 3.6 (yet to be released) and accept patch (which provides s390x
support) on top. The patch will be upstream after 3.6.

Valgrind is a suite of tools for debugging and profiling Linux programs. currently it is available
for x86/ppc-Linux. With the tools that come with Valgrind, a developer can automatically detect many
memory management and threading bugs, avoiding hours of frustrating bug-hunting, making his programs
more stable. With Valgind a detailed profiling can be perfomed, to speed up and reduce memory use in
programs. 
This line item covers the implementation of Valgrind for System z. With this item completed it will
be possible to run complex applications under Valgrind on System z. The memcheck and cachegrind
valgrind plugins will also be ported to System z as part of this lineitem.



2. Feature Details:
Sponsor: LTC zSeries BOE
Architectures:  zSeries - 64 native, 

Arch Specificity: both
Affects Kernel Modules: No
Delivery Mechanism: Direct from Community
Category: other
Request Type: Package - Version Update
d. Upstream Acceptance: In Progress
Sponsor Priority P2
f. Severity: high
IBM Confidential: No
Code Contribution: IBM code
g. Component Version Target: ---
h. Package - Version Update

3. Business Case
Valgrind has proven to be a valueable tool debugging user-space memory management problem on x86 and
PPC platforms. Several customers have requested to have this tool on zSeries as well. Besides the
capabilities to debug memory problems other plugins (cachegrind) enable us to analyze the cache
access patterns of applications which turned out to be a key issue in order to get the best
performance on z10 machines.

4. Primary contact at Red Hat:
John Jarvis, jjarvis

5. Primary contacts at Partner:
Project Management Contact:
Hans-Georg Markgraf, mgrf.com

Technical contact(s):
Gonzalo Muelas Serrano, gmuelas.com

Comment 1 IBM Bug Proxy 2010-11-17 14:20:32 UTC
------- Comment From mgrf.com 2010-11-17 09:14 EDT-------
Hello Red Hat,
The patch to enable Valgrind for System z is not yet included into Valgrind.
Valgrind 3.6.0 is available upstream since 10/21/2010
http://valgrind.org/downloads/

It would be favourable if you could help to trigger Jakub, the maintainer  to include the patch as that would also ease integration work.

Comment 2 John Jarvis 2010-11-17 14:26:47 UTC
IBM is signed up to test and provide feedback, setting OtherQA

Comment 3 Bill Nottingham 2010-12-17 19:57:16 UTC
*** Bug 651152 has been marked as a duplicate of this bug. ***

Comment 4 IBM Bug Proxy 2011-02-11 13:51:18 UTC
------- Comment From borntraeger.com 2011-02-11 08:48 EDT-------
FYI. The latest patch set was updated in the bugzilla.
https://bugs.kde.org/show_bug.cgi?id=243404
The patch for s390x is the same as the patch for RHEL6, no adoptions are necessary as long as valgrind 3.6 is used.

Comment 5 IBM Bug Proxy 2011-03-08 09:22:14 UTC
------- Comment From borntraeger.com 2011-03-08 03:50 EDT-------
FYI, the s390x port went upstream yesterday.

Comment 6 John Jarvis 2011-03-25 00:36:30 UTC
Valgrind is not on the list of approved components for 5.7.  Marking CLOSED WONTFIX.

Comment 7 IBM Bug Proxy 2011-04-08 12:51:13 UTC
------- Comment From mgrf.com 2011-04-08 08:43 EDT-------
Will be requested for R 5.8 again

Comment 8 IBM Bug Proxy 2011-06-06 14:30:47 UTC
------- Comment From mgrf.com 2011-06-06 10:24 EDT-------
As discussed
I re-open this RHEL 5.7 feature  to request inclusion for RHEL 5.8
-> adapt the summary from [LTC 5.7 FEAT] to [LTC 5.8 FEAT] on IBM site

Comment 9 RHEL Program Management 2011-06-20 22:15:04 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 10 IBM Bug Proxy 2011-07-25 07:40:29 UTC
------- Comment From mgrf.com 2011-07-25 03:32 EDT-------
Hello Red Hat

This has been discussed in separate calls with John Jarvis

This feature requests the integration of a debug tool that improves debugging   also for problems that occur in kernel code but have their root cause in userspace.
Therefore it is expected that the integration of Valgrind will reduce the maintenance effort for other packages especially in the light of long term support for RHEL 5.8.
As 5.8 is expected the last update for feature inclusion into RHEL 5 this feature is assessed important for System z on IBM site.

Please re-evaluate the inclusion of this feature request for RHEL 5.8

Comment 11 IBM Bug Proxy 2011-08-03 15:20:51 UTC
------- Comment From mgrf.com 2011-08-03 11:12 EDT-------
So this feature
- for sure supports ISVs building their applications
- and also evaluate feature inclusion with regards to long term support

Comment 12 John Jarvis 2011-10-05 14:40:53 UTC
Valgrind is not on the list of components to be updated for RHEL 5.8 so this request is still rejected for RHEL 5.8.