-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
--perf-basic-prof-only-functions flag is broken since v8 8.6 #50225
Comments
Upstream issue created in https://bugs.chromium.org/p/v8/issues/detail?id=14387, and tip-of-top fix submitted in https://chromium-review.googlesource.com/c/v8/v8/+/4950839. |
Let's wait for resolution on the V8 side. |
I saw this patch was released in https://github.com/nodejs/node/releases/tag/v21.1.0 Is there an indication of when this patch will be available for v20 and v18 (perhaps even v16)? |
Version
16.20.0
Platform
Linux [hostname] 5.4.254-170.358.amzn2.x86_64 #1 SMP Wed Sep 6 21:10:58 UTC 2023 x86_64 GNU/Linux
Subsystem
v8
What steps will reproduce the bug?
The
--perf-basic-prof-only-functions
flag is documented to be safe for production, and allowsperf(1)
to generate reports with JIT symbols. The emitted symbol table includes only addresses for js functions. This no longer happens, but it does for the more expensive--perf-basic-prof
flag.This script can reproduce the error:
How often does it reproduce? Is there a required condition?
This bug is present in all versions that have v8 > 8.6. It's only applicable to Linux.
What is the expected behavior? Why is that the expected behavior?
Interpreted and optimized function frames should be logged.
What do you see instead?
No function frames, but there are regex frames.
Additional information
I originally opened this in nodejs/diagnostics#622.
The text was updated successfully, but these errors were encountered: