Hello Manuel, My CPU is an AMD Interlagos, model 6272. All events that I'm unable to profile are Northbridge events. I have just downgraded my kernel to 3.8.0-35 (matching my perf version), but the problem persists.
I was reading the proposed patch that added support for Northbridge events [1] and the author mentions "NB counters are enabled if the nb performance counter extensions cpuid flag is set. How can I check if such flag is set and, if it's disabled, set it? Thank you, Martin [1]: http://www.spinics.net/lists/kernel/msg1359486.html On Tue, Feb 18, 2014 at 3:22 PM, Manuel Selva <selva.man...@gmail.com> wrote: > Hi, > > What is your CPU ? > > Regarding the perf version, on my Ubuntu 13.04 running linux 3.11.0-15 I > successfully installed the associated perf version using: > > sudo apt-get install linux-tools-3.11.0-15-generic > > > Manu > > > On 02/18/2014 05:51 PM, Martin Ichilevici de Oliveira wrote: >> >> Hello, >> >> I'm still learning perf, so I apologize in advance if my questions are >> too simple and not suited here. I did, however, searched the web and >> tried to find a solution by myself before posting to this mailing >> list. >> >> From my manufacturer's manual, I chose an event I'm interested in >> monitoring. They also list unit masks, as below: >> >> UnitMask Description >> 7 From Local node to Node 7 >> 6 From Local node to Node 6 >> 5 From Local node to Node 5 >> 4 From Local node to Node 4 >> 3 From Local node to Node 3 >> 2 From Local node to Node 2 >> 1 From Local node to Node 1 >> 0 From Local node to Node 0 >> >> The event is "CPU to DRAM Requests to Target Node" (NUMA machine) and >> it's number is 0x1E0. As I understood, I should precede the event with >> the unit mask. So, for example, if I'm interested in unit mask 2, I >> should type: >> >> perf stat -e r21e0 /bin/ls >> >> However, this results in a <not supported> message. This happened for >> all events that have a unit mask that I tried. Other events worked >> fine. >> >> I'm not sure whether I'm giving the right command or this is a problem >> with perf/kernel version. As it turned out, I'm running Ubuntu with >> kernel 3.11.10-03111002, but the latest available perf version from >> the repositories is 3.8.0-35, which is the one I'm using. >> >> Any help is appreciated. >> >> Thank you, >> Martin >> -- >> To unsubscribe from this list: send the line "unsubscribe >> linux-perf-users" in >> the body of a message to majord...@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html