operf and Pentium III

Patrick AGRAIN <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <AM2PR08MB0513228B0425747D45C65DB2CA060@AM2PR08MB0513.eurprd08.prod.outlook.com>
Hello all,

I'm trying to use the oprofile tools on an old Intel Platform based on a Pentium III processor.

The kernel is based on the RH 2.6.32-279.19.1.el6.

I compiled the latest (I think so) version of oprofile tools : 1.1.0
[root@pignon ~]# /usr/local/bin/operf -v
/usr/local/bin/operf: oprofile 1.1.0 compiled on Nov 24 2015 11:12:11

The ophelp tool seems to detect the processor and the available events:
[root@pignon tmpd]# /usr/local/bin/ophelp
oprofile: available events for CPU type "PIII"

See Intel Architecture Developer's Manual Volume 3B, Appendix A and
Intel Architecture Optimization Reference Manual

For architectures using unit masks, you may be able to specify
unit masks by name.  See 'operf' or 'ocount' man page for more details.

CPU_CLK_UNHALTED: (counter: all)
        clocks processor is not halted (min count: 6000)
DATA_MEM_REFS: (counter: all)
        all memory references, cachable and non (min count: 500)
<...>
MMX_ASSIST: (counter: all)
        number of EMMS instructions executed (min count: 500)
MMX_INSTR_RET: (counter: all)
        number of MMX instructions retired (min count: 3000)

But when trying to start the operf tool (whatever the options or the application to perf), I get always the same result:
[root@pignon tmpd]# /usr/local/bin/operf -e CPU_CLK_UNHALTED:10000 /bin/ls
perf_event_open failed with Operation not supported
Caught runtime_error: Internal Error.  Perf event setup failed.
Error running profiler

>From man page of perf_event_open(), the EOPNOTSUPP  error has multiple cause:
-       No hardware support : but the ophelp detects it.
-       No event support : but I tried the default one (CPU_CLK_UNHALTED).
-       No PMU interrupt : well, I don't know... How to check this ?
-       Others ?

What could the cause of this error ?
Thanks in advance.
Kind regards,
Patrick

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.