Well, I don't understand what is going on.
I downloaded libpfm-3.9.tar.gz compiled on ubunut-8.10 in x86_64
mode. When I run examples_v2.x/self, I get:
$ LIBPFM_DEBUG=1 ./self
sycall base 295
major version 2
minor version 82
pfmlib_common.c (pfm_initialize.154): trying AMD64
pfmlib_common.c (pfm_i
Hi Stephane,
I installed a Ubuntu 8.10 including gcc-4.3.2, but I got the same problem,
whatever with O2 or O0 compilation. But the 8.10 is for 32bit version. Will
be this the problem?
And I trace deeper into the program "self" in example-v2.x in libpfm3.9
folder after I make install it. I got sth
Thank you! I will try your configuration.
On Thu, Sep 24, 2009 at 5:26 PM, stephane eranian wrote:
> On Thu, Sep 24, 2009 at 11:24 PM, Qingyuan Deng wrote:
> > Ok, I will try to replace the compiler with a different version and to
> see
> > what will happen. And could I have your software stack
On Thu, Sep 24, 2009 at 11:24 PM, Qingyuan Deng wrote:
> Ok, I will try to replace the compiler with a different version and to see
> what will happen. And could I have your software stack configuration on a
> working Nehalem system?
Ubuntu-8.10 x86_64 mode, gcc-4.3.2
> Anyway, I appreciate your
Ok, I will try to replace the compiler with a different version and to see
what will happen. And could I have your software stack configuration on a
working Nehalem system?
Anyway, I appreciate your help!
Qingyuan
On Thu, Sep 24, 2009 at 5:17 PM, stephane eranian wrote:
> On Thu, Sep 24, 2009 at
On Thu, Sep 24, 2009 at 11:14 PM, Qingyuan Deng wrote:
> No, it doesn't work either. Exactly the same problem. Do you think it is due
> to the compiler? I am using gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Nobody else reported this problem so far. Yet, as I said, I think I
have encoutered
it a while back
No, it doesn't work either. Exactly the same problem. Do you think it is due
to the compiler? I am using gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Thank you!
On Thu, Sep 24, 2009 at 5:08 PM, Qingyuan Deng wrote:
> I thought I compile it as the default configuration file you put there
> which is "O2"...
I thought I compile it as the default configuration file you put there which
is "O2"... OK, I am trying to re-compile it with O0.
On Thu, Sep 24, 2009 at 4:54 PM, stephane eranian wrote:
> What is you try to compile libpfm with OPTIM=-O0?
>
>
> On Thu, Sep 24, 2009 at 10:22 PM, Qingyuan Deng wr
What is you try to compile libpfm with OPTIM=-O0?
On Thu, Sep 24, 2009 at 10:22 PM, Qingyuan Deng wrote:
> Starting program: /home/qdeng/pmu/perfmon2/libpfm-3.9/examples_v2.x/self
> [Thread debugging using libthread_db enabled]
> sycall base 333
> major version 2
> minor version 82
> [New Thread
Starting program: /home/qdeng/pmu/perfmon2/libpfm-3.9/examples_v2.x/self
[Thread debugging using libthread_db enabled]
sycall base 333
major version 2
minor version 82
[New Thread 0xb7eb96c0 (LWP 21252)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7eb96c0 (LWP 2125
Yes. It crashed.
qd...@qdeng-desktop:~/pmu/perfmon2/libpfm-3.9/examples_v2.x$ ./self
sycall base 333
major version 2
minor version 82
Segmentation fault
On Thu, Sep 24, 2009 at 4:18 PM, stephane eranian wrote:
> What about you try libpfm/examples_v2.x/self.
> Does it crash too?
>
>
> On Thu, Se
What about you try libpfm/examples_v2.x/self.
Does it crash too?
On Thu, Sep 24, 2009 at 10:13 PM, Qingyuan Deng wrote:
> Hi Stephane,
> Do you mean mean the i value in "for(i =0; i pme_count; i++) "
> in pfmlib_common.c?
>
> Then it is 0 while the program stops.
>
> Thanks!
> --
Hi Stephane,
Do you mean mean the i value in "for(i =0; i pme_count; i++) "
in pfmlib_common.c?
Then it is 0 while the program stops.
Thanks!
(gdb) b 1899
Breakpoint 1 at 0x804ead1: file pfmon.c, line 1899.
(gdb) r --help
Starti
On Thu, Sep 24, 2009 at 9:29 AM, Qingyuan Deng wrote:
> I tracked into the program and found the segmentation fault happened at:
>
> in pfmon.c
> pfmon_initialize()->pfm_get_max_event_name_len(&len)
>
> then it jumped into pfmlib_common.c
>
> pfm_get_max_event_name_len (len=0xbffd9460) at pfmlib_c
It should be right. I "make install" the libpfm by the default config file
and I checked that directory and it shows:
lrwxrwxrwx 1 root root 15 2009-09-23 15:44 libpfm.so ->
libpfm.so.3.9.0
lrwxrwxrwx 1 root root 15 2009-09-23 15:44 libpfm.so.3 ->
libpfm.so.3.9.0
-rwxr-xr-x 1 root
Are you sure the library in /usr/local/lib/libpfm.so.3 corresponds to the
version you have just compiled?
On Thu, Sep 24, 2009 at 9:29 AM, Qingyuan Deng wrote:
> I tracked into the program and found the segmentation fault happened at:
>
> in pfmon.c
> pfmon_initialize()->pfm_get_max_event_name_l
I tracked into the program and found the segmentation fault happened at:
in pfmon.c
pfmon_initialize()->pfm_get_max_event_name_len(&len)
then it jumped into pfmlib_common.c
pfm_get_max_event_name_len (len=0xbffd9460) at pfmlib_common.c:907
907if (PFMLIB_INITIALIZED() == 0)
(gdb) n
909
it's
linux-gate.so.1 => (0xb7ff6000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7fca000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7fa4000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7f9a000)
libpfm.so.3 => /usr/local/lib/libpfm.so.3 (0xb7f1a000)
lib
What does ldd pfmon say?
On Thu, Sep 24, 2009 at 9:01 AM, Qingyuan Deng wrote:
> Hello,
>
> I patched the kernel and installed both libpfm and perfmon, however I got
> segmentation fault while I tried running command: "pfmon --help'. Could
> anyone help me to figure it out please?
>
> I am runni
19 matches
Mail list logo