Skip to content
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

error when convert perf record data to profile #163

Open
michaelrun opened this issue May 23, 2024 · 2 comments
Open

error when convert perf record data to profile #163

michaelrun opened this issue May 23, 2024 · 2 comments

Comments

@michaelrun
Copy link

michaelrun commented May 23, 2024

Hi, experts
I built autofdo relevant binaries from source code 'master', and after I collected some perf.data, I use create_gcov to do the conversion, but it always reports error like below:

[ERROR:/home/guoqing/autofdo/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:191] Illegal perf_file_section.offset 15762598695796815 in perf data input of size 3334833272
[ERROR:/home/guoqing/autofdo/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1228] Error reading metadata entry info.
[ERROR:/home/guoqing/autofdo/autofdo/profile_creator.cc:182] Error reading profile.

it seems perf_file_section.offset is always 15762598695796815 , no matter the size of perf file. Do you have any idea why this happens, and how to fix/workaround?

@shantuo
Copy link
Collaborator

shantuo commented Jun 6, 2024

Could you share an example perf.data? Or the perf command you used to collect one?

@Mukulareddy
Copy link

Hello,
I am also facing the same issue while converting perf.data .
Please find the sample perf.data file below.
perf.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants