Comments (7)
@rlavaee Can you help? TIA.
from llvm-propeller.
Thanks for filing the issue. Please make sure the output name is the same between perf.propeller file and the final binary name. Otherwise, the ordering will not take effect (as reported by create_llvm_prof). The segfault happens because of an out_of_bounds access in main.cc (argv[1]).
For sanity check, you may want to reproduce results from plo/sample.c (cd plo ; make sample.propeller.out)
from llvm-propeller.
@rlavaee Thanks for pointing out missing argument error (OOPS!). BTW, there seems to be few dependencies to build "sample.propeller.out" such as BOLT and perf2bolt. Do I need to build these tools?
$ make sample.propeller.out
Failed ....
$ make stage1-compiler # Worked
$ make sample.propeller.out
...
./stage1-compiler -fuse-ld=lld -Wl,-O2 -o sample.out sample_bblabels.o
perf record -o sample.perfdata -e "cycles:u" -j any,u -- ./sample.out
[ perf record: Woken up 100 times to write data ]
[kernel.kallsyms] with build id 37e340b1b5a7cf4f57ba8de2bc777359588a957f not found, continuing without symbols
[ perf record: Captured and wrote 24.980 MB sample.perfdata (32105 samples) ]
make: *** No rule to make target '/mnt/sdb1/upawar/create_llvm_prof_dir/*.cc', needed by '/mnt/sdb1/upawar/create_llvm_prof_dir/create_llvm_prof'. Stop.
Note: I updated paths.mk for "create_llvm_prof_dir" directory.
Please let me know if any other build environment is missing.
Any help is appreciated. TIA.
from llvm-propeller.
@rlavaee Can you help with this issue please? Am I missing anything? TIA.
from llvm-propeller.
@uttampawar Please resync. I've pushed a fix to break the BOLT dependencies.
from llvm-propeller.
@rlavaee I'll update the issue with my findings. Thanks.
from llvm-propeller.
This fixes the build issue.
from llvm-propeller.
Related Issues (14)
- build failure on Ubuntu v18.04 HOT 1
- Consider unifying optimization efforts with BOLT HOT 1
- no matching function for call to ‘llvm::IRChangePrinter::~IRChangePrinter() HOT 1
- How do you generate the file pgo-vanilla-compiler.yaml?
- Security Policy violation Binary Artifacts HOT 12
- Is llvm-propeller still alive? HOT 2
- URL https://github.com/google/llvm-propeller/blob/plo-dev/Propeller_RFC.pdf is not available?
- Whether propeller can use perf data from optimized binary
- Don't observe performance improvement for built-in tests with propeller HOT 18
- Unable to run cmake command HOT 2
- Unable to build HOT 4
- Unable to execute command: Abort trap: 6 HOT 2
- Failed to find mmap entries in 'perf.data' for binaries
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 llvm-propeller.