login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
18
Re: libpfm4 faults on P4 machine
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: stephane eranian
Subject:
Re: libpfm4 faults on P4 machine
Date: Wednesday, August 18, 2010 - 2:42 am
On Wed, Aug 18, 2010 at 11:21 AM, stephane eranian <eranian@googlemail.com> wrote:
quoted text
> Lin, > > It should not have chosen intel_x86_arch to begin with. > That's where the bug is. Let me fix this. > >
Fixed in the git tree, just pull again. Thanks for reporting this issue.
quoted text
> On Wed, Aug 18, 2010 at 9:46 AM, Lin Ming <ming.m.lin@intel.com> wrote: >> On P4 machine, intel_x86_arch_support.get_event_info(...) faults because >> intel_x86_arch_support.pe is NULL. >> >> intel_x86_arch_support.pe is set at run time, but P4 does not have arch >> event support, so intel_x86_arch_support.pe is always NULL. >> >> #gdb libpfm4/examples/check_events >> >> Program received signal SIGSEGV, Segmentation fault. >> [Switching to Thread 0xb785caf0 (LWP 3950)] >> 0x0804d74b in pfm_intel_x86_get_event_info (this=0x81c5f80, idx=0, info=0xbff45f14) >> at pfmlib_intel_x86.c:667 >> 667 info->desc = pe[idx].desc; >> (gdb) bt >> #0 0x0804d74b in pfm_intel_x86_get_event_info (this=0x81c5f80, idx=0, info=0xbff45f14) >> at pfmlib_intel_x86.c:667 >> #1 0x08049cd3 in pfmlib_parse_event (event=0x804fb7b "PERF_COUNT_HW_CPU_CYCLES", d=0xbff45f7c) >> at pfmlib_common.c:676 >> #2 0x08049f3f in pfm_get_event_encoding (str=0x804fb7b "PERF_COUNT_HW_CPU_CYCLES", dfl_plm=8, >> fstr=0xbff464d4, idx=0xbff464c8, codes=0xbff464d0, count=0xbff464cc) at pfmlib_common.c:877 >> #3 0x08048dc1 in main (argc=<value optimized out>, argv=0xbff46584) at check_events.c:118 >> (gdb) list >> 662 >> 663 /* >> 664 * pmu and idx filled out by caller >> 665 */ >> 666 info->name = pe[idx].name; >> 667 info->desc = pe[idx].desc; >> 668 info->code = pe[idx].code; >> 669 info->equiv = pe[idx].equiv; >> 670 >> 671 /* unit masks + modifiers */ >> (gdb) >> >> Any fix? >> >> Lin Ming >> >> >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
libpfm4 faults on P4 machine
, Lin Ming
, (Wed Aug 18, 12:46 am)
Re: libpfm4 faults on P4 machine
, stephane eranian
, (Wed Aug 18, 2:21 am)
Re: libpfm4 faults on P4 machine
, stephane eranian
, (Wed Aug 18, 2:42 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Benjamin Herrenschmidt
Re: [PATCH 1/4] hvc_console: do not set low_latency
Russell King
Re: ARM defconfig files
Carsten Otte
Re: [patch] ext2: xip check fix
Jordan Crouse
Re: 2.6.25-mm1
James Morris
Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
Nicolas Pitre
Re: About git and the use of SHA-1
linux-netdev
:
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Andi Kleen
Re: RFC: Nagle latency tuning
Gary Thomas
Re: Marvell 88E609x switch?
David Miller
Re: [RFC 0/5] generic rx recycling
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
dragonflybsd-user
:
Andreas Hauser
Re: Transset.
Tomas
usb printer Brother HL-2030 and DragonFly
Matthew Dillon
Re: DragonFlyBSD not in compliance with RFC 1122
Nikolai Lifanov
pkgsrc issues
Jonas
Re: New to DragonFly...
dragonflybsd-submit
:
Ilya Dryomov
git: HAMMER - Add live_dedup_cache_size sysctl
Matthew Dillon
git: MBUF - Account for failed allocations so netstat -m reports properly.
Simon Schubert
git: make.conf(5): mention STATIC_LOCALES
Matthias Schmidt
cvs commit: src/sys/net bpf.c bpf.h bpfdesc.h
Simon Schubert
git: Revert "Increase the default TCP maximum segment size from 512 to 1460."
Colocation donated by:
Syndicate