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

Flamegraph shows addresses instead of function names #338

Open
elenakrittik opened this issue Oct 1, 2024 · 3 comments
Open

Flamegraph shows addresses instead of function names #338

elenakrittik opened this issue Oct 1, 2024 · 3 comments

Comments

@elenakrittik
Copy link

I'm on Windows, running in sudo-mode using the blondie backend. I made sure the profile i use has debug-info enabled and stripping disabled. Reproduction info:

  • This is the repo/branch to clone.
  • The command you can use is cargo flamegraph --profile debug_release --bin gdtk (will exit immediately due to insufficient arguments).
  • Sample flamegraph.

Anything else i can do to help? Thanks in advance.

@djc
Copy link
Contributor

djc commented Oct 2, 2024

@nico-abram any suggestions?

@onkoe
Copy link

onkoe commented Nov 3, 2024

Also experiencing this on Windows 10 IoT Enterprise 19044.5011. I tried installing the Windows Performance Analyzer thinking I was missing some tooling, but that didn't resolve the problem. Visual Studio is correctly installed, and I'm using the MSVC toolchain.

@onkoe
Copy link

onkoe commented Nov 3, 2024

Quick update: I turned on Windows Defender, then hit "Scan for Updates" and restarted my computer. This didn't add all the symbols like it appears on Linux, but I got a lot back. Here's the button in Windows Security:

windows security screenshot displaying location of definitions update button

I've also attached the two graphs, pre- and post-update:

  • flamegraph no_symbols
  • flamegraph

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