Hi, I think that the format you are using is not correct.
To profile event 0xXXX with unit mask YY, the format is rX0000YYXX, so in your case: r1000002e0. Also, beware that the unitmask in the documentation tells you the _bit(s)_ that need to be set. So : From Local Node to Node 0 = r1000001e0 From Local Node to Node 1 = r1000002e0 From Local Node to Node 2 = r1000004e0 From Local Node to Node 3 = r1000008e0 From Local Node to Node 4 = r1000010e0 From Local Node to Node 0 & 1 & 2 = r1000007e0 etc. Cheers, Baptiste. ----- Mail original ----- > De: "Martin Ichilevici de Oliveira" <martin.i.olive...@gmail.com> > À: linux-perf-users@vger.kernel.org > Envoyé: Mardi 18 Février 2014 17:51:46 > Objet: Event not supported > > 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