I would like to have Perf metrics included with my test results - however I cannot figure out how to make this happen. I want to mimic an example in an article by Michael Larabel where the Perf module reported task clock, number of context switches, page faults, branches, and branch misses another with the test results. In documentation and several places in the forums I have seen you should be able to load the Perf module simply by setting the environment variable, LINUX_PERF=1. This is not working for me.
Following the examples I tried running commands like: "$ LINUX_PERF=1 phoronix-test-suite run pts/encode-mp3" with no success. I tried setting the environment var using export, verifying it was set, then starting the test - still without success. I do not see any errors in the phoronix logs nor system logs. Perf *is* installed and accessible via normal system paths:
$ which perf
/usr/bin/perf
Am I missing something obvious? Any pointers to what to try will be greatly appreciated.
Following the examples I tried running commands like: "$ LINUX_PERF=1 phoronix-test-suite run pts/encode-mp3" with no success. I tried setting the environment var using export, verifying it was set, then starting the test - still without success. I do not see any errors in the phoronix logs nor system logs. Perf *is* installed and accessible via normal system paths:
$ which perf
/usr/bin/perf
Am I missing something obvious? Any pointers to what to try will be greatly appreciated.
Comment