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

Cannot extract function name from perf.data #155

Closed
yiwangethan opened this issue Jan 10, 2024 · 1 comment
Closed

Cannot extract function name from perf.data #155

yiwangethan opened this issue Jan 10, 2024 · 1 comment

Comments

@yiwangethan
Copy link

Hello! We obtain the "perf.data" file by using "perf record -g -a ./my_execution", but it seems that the "perf.data" database does not include mapping information such as function names. After using "perf_to_profile" to convert the "perf.data" file to protobuf file, we still cannot extract function name information from it. Is it possible that our command is incorrect or lacks certain flags? Thanks for your time in advance.

@aalexand
Copy link
Collaborator

Symbolization is not a part of the perf.data file, it's done by the analysis tool - e.g. during perf report or pprof invocation.

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

2 participants