Thanks for the pointers. alright, I've backed up to libpfm 3.3 and pfmon 3.2-071017 and now I get:
can't create perfmon context: Bad file descriptor Should those versions work with system? Thanks again -steve On Apr 28, 2008, at 2:20 AM, stephane eranian wrote: > Steve, > > libpfm-3.4 is for kernel 2.6.24 or newer due to syscall number changes > + minor perfmon ABI changes. > Also note that you need to use a patched kernel if you are not on > IA-64. > > > On Mon, Apr 28, 2008 at 10:46 AM, Steven Swanson > <[EMAIL PROTECTED]> wrote: >> >> I get the following error whenever I try to run pfmon: >> >> can't create perfmon context: Invalid argument >> >> I'm using the current cvs version of libpfm and pfmon, although the >> error occurs with libpfm-3.4 and pfmon-3.3 >> >> I've include some (hopefully) useful system data below. >> >> What am I doing wrong? >> >> Thanks. >> >> -steve >> >> >> It's a Centos 5.0 machine. here's the uname -a >> >> Linux my.host.net 2.6.22.1_ahci_3ware_perfmon #2 SMP >> Mon Apr 28 >> 00:03:47 PDT 2008 x86_64 x86_64 x86_64 GNU/Linux >> >> >> and last entry from /proc/cpuinfo >> >> ================================= >> processor : 3 >> vendor_id : GenuineIntel >> cpu family : 6 >> model : 15 >> model name : Intel(R) Xeon(R) CPU X3220 @ 2.40GHz >> stepping : 11 >> cpu MHz : 2394.034 >> cache size : 4096 KB >> physical id : 0 >> siblings : 4 >> core id : 3 >> cpu cores : 4 >> fpu : yes >> fpu_exception : yes >> cpuid level : 10 >> wp : yes >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr >> pge >> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm >> syscall >> nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr >> lahf_lm >> bogomips : 4788.37 >> clflush size : 64 >> cache_alignment : 64 >> address sizes : 36 bits physical, 48 bits virtual >> power management: >> ===================================== >> >> and lsmod >> >> ===================================== >> Module Size Used by >> perfmon_intel_core 58116 0 >> perfmon_pebs_smpl 36096 0 >> autofs4 57480 2 >> w83627hf 61976 0 >> w83781d 65840 0 >> hwmon_vid 36096 2 w83627hf,w83781d >> lm92 44304 0 >> i2c_isa 38016 0 >> hidp 87296 0 >> nfs 283992 2 >> lockd 101808 2 nfs >> nfs_acl 36864 1 nfs >> rfcomm 106280 0 >> l2cap 90112 4 hidp,rfcomm >> bluetooth 122244 5 hidp,rfcomm,l2cap >> sunrpc 214664 4 nfs,lockd,nfs_acl >> xfrm4_mode_transport 35456 4 >> deflate 37248 0 >> zlib_deflate 53016 1 deflate >> twofish 40064 0 >> twofish_common 69760 1 twofish >> serpent 52096 0 >> aes 59456 0 >> blowfish 42112 0 >> ecb 36992 0 >> sha256 41984 0 >> crypto_null 35968 0 >> af_key 103060 2 >> bonding 117600 0 >> nf_conntrack_netbios_ns 36352 0 >> xt_state 35840 4 >> iptable_filter 36352 1 >> ip_tables 55648 1 iptable_filter >> video 52496 0 >> sbs 53392 0 >> button 42272 0 >> battery 44296 0 >> ac 39176 0 >> lp 47312 0 >> floppy 96040 0 >> sg 70056 0 >> shpchp 67356 0 >> e1000 156480 0 >> i2c_i801 42268 0 >> 8250_pnp 45056 0 >> parport_pc 63912 1 >> 8250 200136 1 8250_pnp >> ide_cd 73632 0 >> parport 73484 2 lp,parport_pc >> serial_core 55680 1 8250 >> cdrom 68776 1 ide_cd >> dm_snapshot 49992 0 >> dm_zero 35200 0 >> dm_mirror 55040 0 >> ext3 165392 2 >> jbd 96496 1 ext3 >> ehci_hcd 67084 0 >> ohci_hcd 54660 0 >> uhci_hcd 58528 0 >> >> >> ============================================= >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save >> $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> perfmon2-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel >> ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ perfmon2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
