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
Unable to read build ID header #33
Comments
a little clarification on my debug points: breakpoint 1 : perf_reader.cc:1325 SeekSet(section_iter->offset);> breakpoint 1 breakpoint 2: backtrace at breakpoint 2: |
I'm useing create_llvm_prof to use with PGO.
I ran my application which is built with -g under perf record -b which generates perf.data
The perf.data is 366 MB and I can run perf report on it which tells me that the file is okay
While reading the perf.data, create_llvm_prof quits with following error:
E0512 19:20:31.186863 8230 data_reader.cc:15] Unable to read build ID header. Requested 8 bytes, 18424226071644201007 bytes remaining.
E0512 19:20:31.205049 8230 profile_creator.cc:78] Error reading profile.
When I debug, perf_reader.cc:1325, section_iter->offset has a value of 0x50000100000001 which is odd section_iter->size is set to 0xffffffff
type is : HEADER_BUILD_ID
when I continue:
In buffer_reader.cc:12, size_ is 0xffffffff since offset_ is set to the huge value above, the if condition is met and false is returned which causes the error.
The text was updated successfully, but these errors were encountered: