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
functioninfo.h:163 Check failed: logical_num > 0 (0 vs. 0) #112
Comments
Could you give a reproducible, for example attach the binary and the profile? |
|
You can send it to wmi@google.com. Thanks! |
Sent. |
Got it, thanks Chenhao.
…On Wed, Jun 9, 2021 at 6:44 PM Chenhao Zhang ***@***.***> wrote:
You can send it to ***@***.*** Thanks!
Sent.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#112 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJCYKFKYWS7PRMCCZPMNLLLTSAKIJANCNFSM46JJRZXQ>
.
|
I met the same problem, has it been solved? |
I solved it by sampling perf.data using perf record -b -e br_inst_retired.near_taken:pp -p 1 -- sleep 120 https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html , and search key word autofdo |
I also meet this problem, when convert redis profiling data to .gcov. Is there any solution? |
I am still working on the issue. The old dwarf reader had some bug and
looks like a newer version could possibly fix the issue (The whole dwarf
reader has been deprecated internally since google switched to use
llvm-symbolizer. I was trying to find a relatively new version before
the deprecation but there was still some issue to be solved).
…On Fri, Jun 25, 2021 at 7:43 PM grajer ***@***.***> wrote:
I also meet this problem, when convert redis profiling data to .gcov. Is
there any solution?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#112 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJCYKFJAKT4WYTI5XFQWNXTTUU5FRANCNFSM46JJRZXQ>
.
|
Hi all, I also meet this problem and solved it by compare with old create_gcov.
The solution is:
hope it`s useful ^_^ |
Thanks for pointing that out! I somehow dropped that line when I was doing the merge. The suggested fix solves the problem. Will merge it. |
Fix committed: 8d5bf56 |
I'm using the gcc version of autofdo tool. And when I tried to convert my perf.data into gcov file, the tool reports an error as below:
F20210608 11:36:58.429226 49029 functioninfo.h:163] Check failed: logical_num > 0 (0 vs. 0)
*** Check failure stack trace: ***
Aborted
The commands that I'm using to collect perf.data and convert it are:
perf record -b "my binary"
./create_gcov --binary=../battle_data/battlesvr --profile=../battle_data/perf.data_battle --gcov=ver1.1_print.gcov -gcov_version=1
In addition, I have tried to build a llvm version of the autofdo tool and it successfully converts the perf.data. Any help would be appreciated!
The text was updated successfully, but these errors were encountered: