Bug 1264443
| Summary: | opreport needs session dir even when compares archives | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Michael Petlan <mpetlan> |
| Component: | oprofile | Assignee: | William Cohen <wcohen> |
| Status: | CLOSED ERRATA | QA Contact: | Michael Petlan <mpetlan> |
| Severity: | unspecified | Docs Contact: | Tomas Capek <tcapek> |
| Priority: | unspecified | ||
| Version: | 7.1 | CC: | mbenitez, mcermak |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | oprofile-0.9.9-18.el7 | Doc Type: | Bug Fix |
| Doc Text: |
The *opreport* and *opannote* utilities now properly analyze archive data.
Previously, when using *oparchive* to store data, the associated samples were not included in the archive. In addition, the *oprofile* utilities selected data in the current working `oprofile_data` directory rather than in the archive. Consequently, the *opreport* and *opannote* utilities were unable to properly analyze data in an archive generated by *oparchive*. This update provides a fix for storing the profiling samples in the archive and selecting them for use with archives, and *opreport* and *opannote* now work as expected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 05:16:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Michael Petlan
2015-09-18 13:21:29 UTC
oparchive was designed to work by pretty much making a tree that is mirrors the original parts of the file system with the samples and the binaries to allow the analysis to be done. The analysis would start at the root of the generated archive. The problem is that the oprofile_data could be anywhere in the archive. Will need to do some redesign of oparchive/opreport to make this work properly. Have a patch in oprofile-0.9.9-18 that copies the sample data into the archive and ensures that data is used when archives are being used. The test in the description should work with this version. Tested with oprofile-0.9.9-18.el7 and both usecases pass now (B,C). VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2394.html |