On Wed, Feb 19, 2014 at 9:59 AM, Vince Weaver <vincent.wea...@maine.edu> wrote: > > The support for AMD fam15h northbridge events was introduced in 3.9, but > the perf interface for it was changed in an incompatible way in 3.10. > > To access the counters starting in 3.10 they are in a separate PMU. > You need to be root and you need to set the type field to the proper PMU. > > You might be better off using something like libpfm4 to find out what aw > values to use, trying to set them by hand is a hassle. > > Vince
Vince, as I could understand, any tool that I use to profile AMD fam15h northbridge events will depend on Linux 3.9 or newer, am I right? If that's the case, would you say that currently Linux 3.9 is the best/easiest way to go? I've been playing with kernel versions trying to figure this out and a few times the machine broke. Since that's a remote machine, that's a hassle, as I have to ask people to fix it for me, so I'd like to minimize the chances of problems. I'm currently on Linux 3.8. Thanks, -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