oprofile fails to start on amd64 running vanilla 2.6.20.2 kernel: > uname -a Linux calliope 2.6.20.2 #1 Sun Mar 11 16:00:33 GMT 2007 x86_64 AMD Sempron(tm) Processor 3000+ AuthenticAMD GNU/Linux > sudo opcontrol --start Using default event: CPU_CLK_UNHALTED:100000:0:1:1 /usr/bin/opcontrol: line 994: /dev/oprofile/0/enabled: No such file or directory /usr/bin/opcontrol: line 994: /dev/oprofile/0/event: No such file or directory /usr/bin/opcontrol: line 994: /dev/oprofile/0/count: No such file or directory /usr/bin/opcontrol: line 994: /dev/oprofile/0/kernel: No such file or directory /usr/bin/opcontrol: line 994: /dev/oprofile/0/user: No such file or directory /usr/bin/opcontrol: line 994: /dev/oprofile/0/unit_mask: No such file or directory Will attach patch against 0.9.2 based on one from LKML thread given in URL. Reproducible: Always Steps to Reproduce: start oprofile 0.9.2 on amd64
Created attachment 113943 [details, diff] counter-dir-bugfix Patch against 0.9.2 based on one from: http://lkml.org/lkml/2007/3/1/149 Basic testing (opcontrol --start works, brief eyeball of reports) on x86 and amd64
Fixed in CVS. Thanks for the patch.