Thanks Stephane, although it's not a SLES but rather an openSuSE system, their changes are likely to be the same. So I will get the official patch and tools and hopefully everything works.
Regards, Michael On Friday 10 July 2009 17:27:18 stephane eranian wrote: > Hi, > > On Tue, Jul 7, 2009 at 9:54 AM, Michael > > Knobloch<m.knobl...@fz-juelich.de> wrote: > > Hi, > > > > I'm running an openSuSE 11.1 with the SuSE 2.6.27 kernel. This kernel > > uses perfmon2 as modules. The /sys/kernel/perfmon directory exists, and > > especially the pmu_desc subdirectory looks good. However, I'm unable to > > run any of the libpfm examples or pfmon, it either says that the kernel > > has no support for hardware counters or that it "can't create perfmon > > context". > > I think the problem probably comes form the fact that in SLES they have > modified the user/kernel interface of perfmon. Instead of using dedicated > system calls, they > are using ioctl(), if I recall correctly. They have modified pfmon to > use this but that's > it. If you download the official pfmon and libpfm packages, they won't > work. > > > On the same machine I'm running a Gentoo Linux with a 2.6.30 kernel where > > perfmon2 is built into the kernel and there everything works fine. > > > > The only difference in the /sys/kernel/perfmon/ directory is that the > > Gentoo system contains a syscall interface that the openSuSE system > > doesn't. > > > > Has anyone an idea how I can get the performance counters work on SuSE? > > > > Regards, Michael > > -- > > Michael Knobloch > > Juelich Supercomputing Centre > > Institute for Advanced Simulation > > > > E-Mail: m.knobl...@fz-juelich.de > > WWW: http://www.fz-juelich.de/jsc/JSCPeople/knobloch > > > > ------------------------------------------------------------------------- > >----------------------- > > ------------------------------------------------------------------------- > >----------------------- Forschungszentrum Juelich GmbH > > 52425 Juelich > > Sitz der Gesellschaft: Juelich > > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 > > Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe > > Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), > > Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, > > Prof. Dr. Sebastian M. Schmidt > > ------------------------------------------------------------------------- > >----------------------- > > ------------------------------------------------------------------------- > >----------------------- > > > > ------------------------------------------------------------------------- > >----- Enter the BlackBerry Developer Challenge > > This is your chance to win up to $100,000 in prizes! For a limited time, > > vendors submitting new applications to BlackBerry App World(TM) will have > > the opportunity to enter the BlackBerry Developer Challenge. See full > > prize details at: http://p.sf.net/sfu/blackberry > > _______________________________________________ > > perfmon2-devel mailing list > > perfmon2-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel -- Michael Knobloch Juelich Supercomputing Centre (JSC) Institute for Advanced Simulation (IAS) Telefon: +49 2461 61-3546 Telefax: +49 2461 61-6656 E-Mail: m.knobl...@fz-juelich.de WWW: http://www.fz-juelich.de/jsc/JSCPeople/knobloch ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel