Comments (4)
You just need to have the buildid in the separate .debug file.
from autofdo.
I now have compiled with buildid but no luck so far.
file /usr/bin/mpv
/usr/bin/mpv: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=b5acb6dffa31e29bdd7e5ea6e8c9d8a5bb64a832, stripped
file /usr/lib64/debug/usr/bin/mpv.debug
/usr/lib64/debug/usr/bin/mpv.debug: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter empty, for GNU/Linux 3.2.0, BuildID[sha1]=b5acb6dffa31e29bdd7e5ea6e8c9d8a5bb64a832, with debug_info, not stripped
create_gcov --binary=/usr/bin/mpv --profile=perf.data --gcov=sort.gcov -gcov_version=1
Log file created at: 2018/02/20 23:04:51
Running on machine: deepspace
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0220 23:04:51.595769 112557 perf_reader.cc:670] Perf data is in normal format.
I0220 23:04:51.596562 112557 perf_reader.cc:1300] Number of events stored: 5597
I0220 23:04:51.596575 112557 perf_reader.cc:1372] Unsupported metadata type, skipping: 16
I0220 23:04:51.613898 112557 perf_parser.cc:194] Parser processed: 2716 MMAP/MMAP2 events, 160 COMM events, 200 FORK events, 200 EXIT events, 2316 SAMPLE events, 2315 of these were mapped
W0220 23:04:51.619182 112557 addr2line.cc:41] File '/usr/bin/mpv' has no .debug_info section.
W0220 23:04:51.619225 112557 addr2line.cc:41] File '/usr/bin/mpv' has no .debug_ranges section.
W0220 23:04:51.619228 112557 addr2line.cc:41] File '/usr/bin/mpv' has no .debug_line section.
W0220 23:04:51.619328 112557 module_grouper.cc:60] Cannot read compilation info from binary. Please use -frecord-compilation-info-in-elf when building the binary
from autofdo.
I think this should have been fixed by #65, pease re-open if otherwise.
from autofdo.
still seems to be an issue.
/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=ddb86174e0fcba237885c1a472d89f34133f7b8a, stripped
/usr/lib/debug/bin/bash.debug: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter *empty*, for GNU/Linux 3.2.0, BuildID[sha1]=ddb86174e0fcba237885c1a472d89f34133f7b8a, with debug_info, not stripped
create_gcov --binary=/bin/bash --profile=perf.data --gcov=sort.gcov -gcov_version=1
Log file created at: 2018/04/18 11:04:04
Running on machine: deepspace
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
W0418 11:04:04.292893 91105 addr2line.cc:41] File '/bin/bash' has no .debug_info section.
W0418 11:04:04.292918 91105 addr2line.cc:41] File '/bin/bash' has no .debug_ranges section.
W0418 11:04:04.292922 91105 addr2line.cc:41] File '/bin/bash' has no .debug_line section.
W0418 11:04:04.292979 91105 module_grouper.cc:60] Cannot read compilation info from binary. Please use -frecord-compilation-info-in-elf when building the binary
from autofdo.
Related Issues (20)
- Can't Process Perf File HOT 17
- Linking errors when building tools for llvm HOT 3
- autofdo.txt empty HOT 1
- What's the minimum required version of llvm? HOT 1
- Linking errors when building tools for llvm HOT 3
- Test failed after building autofdo HOT 2
- Unrecognized sample profile encoding format HOT 13
- SPEC 2017 HOT 8
- create_gcov: Check failed: (pos + 2*width) <= buffer_ + buffer_length_ HOT 2
- autofdo doesnt compile. HOT 6
- dwarf2reader.cc:835: Unhandled form type HOT 2
- Huge memory consumption
- couldn't ninja HOT 2
- Disscussion: Does autofdo support .zdebug_{info,line}...
- llvm-16-compile-fix
- Apply PGO to the AutoFDO itself HOT 3
- [bug] No checking about "requires the first loadable segment to be executable". HOT 5
- Don't emit in output profile when sample count is 0. HOT 2
- excessive total_count HOT 1
- sample_reader.cc:102] Error reading from perf_inject_etm_test_loop.data&profile_creator.cc:138] Error reading profile.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autofdo.