Re: Announcement: Release Candidate 1 for OProfile 1.0.0
William Cohen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On 08/29/2014 12:12 PM, Will Deacon wrote:
> Hi Will,
>
> On Fri, Aug 29, 2014 at 05:02:44PM +0100, William Cohen wrote:
>> I built rpms from the current oprofile git repo and included the patch
>> (http://koji.fedoraproject.org/koji/taskinfo?taskID=7485311). I reran the
>> tests on the cortex a15, amd family 10, and ivybridge machine and verified
>> there weren't any changes in the test results. For Fedora arm cortex a9
>> there was some improvements. All the cycle-check-ocount tests pass now
>> and more of the other tests pass. However, there are still more failures
>> on the f20 cortex a9 than the other machine, most often a "Non-zero count
>> for workload ...". I have attached the output of tests for the cortex a9.
>
> [...]
>
>> Running target unix
>> Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
>> Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
>> Using ./config/unix.exp as tool-and-target-specific interface file.
>> Running ./oprofile-operf/oprofile-operf-run.exp ...
>> FAIL: nonzero-sized sample file creation: {INST_RETIRED} created nonzero sample files
>> FAIL: nonzero-sized sample file creation: {INST_RETIRED} created nonzero sample files
>> FAIL: nonzero-sized sample file creation: {INST_RETIRED} created nonzero sample files
>> FAIL: nonzero-sized sample file creation: {INST_RETIRED} created nonzero sample files
>
> Not sure if it helps, but A9 doesn't implement the INST_RETIRED counter
> (0x08) so I wouldn't expect any numbers to come back from that event.
>
> Will
>
I noticed that the kernel was reporting instruction counts for ARM cortex a9. It looks like it is using the following INS_RENAME, 0x68 instead. "perf stat" reports cpu cycles on cortex a9, but operf on cortex a9 returns the following (it work fine on a cortex a15):
[root@dhcp129-63 testsuite]# operf stat ls
perf_event_open failed with Operation not supported
Caught runtime_error: Internal Error. Perf event setup failed.
Error running profiler
[root@dhcp129-63 testsuite]# uname -a
Linux dhcp129-63.rdu.redhat.com 3.15.10-201.fc20.armv7hl #1 SMP Wed Aug 27 22:16:02 UTC 2014 armv7l armv7l armv7l GNU/Linux
[root@dhcp129-63 testsuite]# rpm -q oprofile
oprofile-0.9.9-2.fc20.armv7hl
The oprofile-0.9.9 had the same problems on cortex a9, so it doesn't appear to be a regression.
The oprofile-testsuite seemed to run fine on fedora 20 ARM cortex a15 and fedora 20 x86_64 ivybridge.
-Will
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/