bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/18616] oprofile fails with "BFD: Dwarf Error: found dwarf


From: Marco.Leise at gmx dot de
Subject: [Bug binutils/18616] oprofile fails with "BFD: Dwarf Error: found dwarf version '64617', this reader only handles version 2, 3 and 4 information"
Date: Thu, 12 Apr 2018 09:41:03 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18616

--- Comment #5 from Marco Leise <Marco.Leise at gmx dot de> ---
I use this for callgraphs:

operf --vmlinux /usr/src/linux/vmlinux --callgraph ./app_to_be_profiled
opreport -c%g -t=0.1% -p=/lib/modules/`uname -r`/kernel/,/lib/modules/`uname
-r`/video/

And this for detailed samples:

operf --vmlinux /usr/src/linux/vmlinux ./app_to_be_profiled
opreport -gd%rl -t=1% -p=/lib/modules/`uname -r`/kernel/,/lib/modules/`uname
-r`/video/

The app needs no instrumentation other than - of course - debug information and
should dynamically link with libc. (OProfile also displays time spent in the
kernel, so I added the path to the uncompressed vmlinux and modules.) Hope that
helps!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]