[prev in list] [next in list] [prev in thread] [next in thread]
List: oprofile-list
Subject: Re: callgraph on x86_64
From: Christopher Layne <clayne () anodized ! com>
Date: 2008-01-30 2:28:37
Message-ID: 20080130022837.GZ7265 () ns1 ! anodized ! com
[Download RAW message or body]
On Tue, Jan 29, 2008 at 05:53:03PM -0800, Konstantin Serebryany wrote:
> Hmm.
> I have a machine which works in mixed mode (2.6.18.5 mixed64-32).
> oprofile's flat profile works fine on it, but the callgraph does not.
> It shows me something like this:
>
> $ opreport -l -c ./bzip2
> ...-------------------------------------------------
> 98372 51.8719 BZ2_blockSort
> 98372 100.000 BZ2_blockSort [self]
> -------------------------------------------------------------------------------
> 71317 37.6057 fallbackSort
> 71317 100.000 fallbackSort [self]
For the record, I also see this behaviour. I can also remember seeing it atleast as \
far back as 4 months ago (from when I lasted tried using callgraph support). \
Unfortunately this isn't a multilib system so I can't try it under 32.
# opreport -gl -c '*bz2*'
CPU: AMD64 processors, speed 2400 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask of \
0x00 (No unit mask) count 100000
warning: /var/lib/oprofile/samples/current/{root}/bin/bzip2/{dep}/{root}/lib64/libbz2.so.1.0.4/CPU_CLK_UNHALTED.100000.0.all.all.all \
is not in a usable binary format. samples % linenr info image \
name app name symbol name
-------------------------------------------------------------------------------
174693 54.0678 bzlib.c:808 libbz2.so.1.0.4 bzip2 \
BZ2_bzDecompress 174693 100.000 bzlib.c:808 libbz2.so.1.0.4 \
bzip2 BZ2_bzDecompress [self]
-------------------------------------------------------------------------------
148156 45.8545 decompress.c:107 libbz2.so.1.0.4 bzip2 \
BZ2_decompress 148156 100.000 decompress.c:107 libbz2.so.1.0.4 \
bzip2 BZ2_decompress [self]
-------------------------------------------------------------------------------
154 0.0477 bzlib.c:1165 libbz2.so.1.0.4 bzip2 \
BZ2_bzRead 154 100.000 bzlib.c:1165 libbz2.so.1.0.4 \
bzip2 BZ2_bzRead [self]
-------------------------------------------------------------------------------
95 0.0294 huffman.c:177 libbz2.so.1.0.4 bzip2 \
BZ2_hbCreateDecodeTables 95 100.000 huffman.c:177 \
libbz2.so.1.0.4 bzip2 \
BZ2_hbCreateDecodeTables [self]
-------------------------------------------------------------------------------
2 6.2e-04 (no location information) libbz2.so.1.0.4 bzip2 \
.plt 2 100.000 (no location information) libbz2.so.1.0.4 bzip2 \
.plt [self]
-------------------------------------------------------------------------------
# uname -a
Linux ns1 2.6.24 #1 SMP Sat Jan 26 09:32:00 GMT 2008 x86_64 Dual-Core AMD Opteron(tm) \
Processor 1216 AuthenticAMD GNU/Linux # opcontrol --version
opcontrol: oprofile 0.9.3 compiled on Jan 27 2008 21:21:22
Oprofile is also compiled into the kernel (not a module).
-cl
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic