-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create_llvm_prof can not found build id in propeller format #190
Comments
I also got the same error when I ran |
According to the comment information, I adjusted
If But a new error occurred.
|
llvm_propeller_whole_program_info.cc void PropellerWholeProgramInfo::DropNonSelectedFunctions(
const absl::btree_set<int> &selected_functions) {
for (int i = 0; i != bb_addr_map_.size(); ++i) {
if (selected_functions.contains(i))
continue;
bb_addr_map_[i].BBRanges.clear();
bb_addr_map_[i].BBRanges.shrink_to_fit();
if (!options_.keep_frontend_intermediate_data())
symtab_.erase(bb_addr_map_[i].getFunctionAddress());
}
} In the new llvm api, uint64_t getFunctionAddress() const {
assert(!BBRanges.empty());
Return BBRanges.front().BaseAddress;
} |
Fixed buildid and getFunctionAddress problems (so we can drop the --profiled_binary_name flag) with #192 . And as to the performance, we are running experiments to see whether this regress the origin results. Will report back shortly. |
create_llvm_prof can not found build id, but use format=text can work well
error log
I use readelf -n , will report same build id as perf.data.
I try --profiled_binary_name will appear
Segmentation fault
.and I try debug mode create_llvm_prof, it core in assert
The text was updated successfully, but these errors were encountered: