Re: misc oprofile-tests updates
William Cohen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On 03/30/2016 05:26 PM, Will Schmidt wrote: > Hi Oprofile devs, > > A handful of changes to the oprofile-tests suite, for consideration. > > I stumbled across an issue while running the tests, dug in a bit, and came > out with this short series of patches to improve things. Most of the > changes are cosmetic, but a couple will affect the suite behavior, most > notably that more of the tests will be runnable as a normal user, and we > will successfully run more tests as root when the kptr_restrict mode is > in restricted mode, where we previously would have punted. (Additional > detail in the patch descriptions.) > > I've tested these changes against an older (0.9.8) install, as well as > against latest (1.2.0git), no new issues in my testing. > > As a user: > before: 49/49 tests passed. > after: 74/78 to 78/78 tests passed. (depending on the value of kptr_restrict) > > As root: > No notable changes. My latest run showed > after: 113/117 to 117/117 tests passed. (depending on kptr_restrict) > > Thanks, > -Will > Hi Will, Thanks for the patches. I looked over the patches, tried the patches out and they do improve the results. They have been applied to the upstream oprofile-testsuite. -Will ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140