I am trying to use perf in a system with 3.8 linux kernel.When I used the following command, error happens:$ perf record -c 100000 -e '{cycles,instructions}:S' ./nonloop 1000failed to mmap with 25 (Inappropriate ioctl for device)nonloop: TerminatedCould anyone tell me how to solve the problem? 
perf error: failed to mmap with 25 (Inappropriate ioctl for device)
perf event;perf