On Thu, 3 Oct 2013, Andi Kleen wrote: > Yuanfang Chen <cyf...@gmail.com> writes: > > > I'm trying to measure uncore events. After reading [1], I tried "perf > > stat -a -e "uncore_imc_0/event=0xff,umask=0x00/" /bin/ls", it says > > "invalid or unsupported event". > > > > The machine is Intel Ivy Bridge i5-3320M with ArchLinux 3.11.2-1-ARCH. > > 'perf --version' is 'perf version 3.11.0' > > In '/sys/bus/event_source/devices/uncore_cbox_0/events', there is only > > one event 'clockticks'. > > Uncore monitoring is only supported for IvyBridge Xeon E5+ / Core i7 > 49xx systems, not for your CPU.
are you sure about that? Support for plain Ivybridge Model 58 uncore (which I assume this machine has) was added in Linux 3.10. Or are there low-end mobile IvyBridge chips that lack uncore support? Now for model58 IvyBridge the kernel doesn't seem to export predefined generic events, but you can do things like manually set up events like UNC_CBO_CACHE_LOOKUP:STATE_I:ANY_FILTER and they seem to work. Vince -- 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