Skip to content

[v20 backport] deps: V8: cherry-pick f7d000a7ae7b - #50345

Closed
lukealbao wants to merge 1 commit into
nodejs:v20.x-stagingfrom
lukealbao:perf-basic-logging-fix-v20
Closed

[v20 backport] deps: V8: cherry-pick f7d000a7ae7b#50345
lukealbao wants to merge 1 commit into
nodejs:v20.x-stagingfrom
lukealbao:perf-basic-logging-fix-v20

Conversation

@lukealbao

Copy link
Copy Markdown
Contributor

This backports #50302, which can't be cleanly applied to the v20 branch.

Original commit message:
[logging] Bugfix: LinuxPerfBasicLogger should log JS functions
This patch fixes a typo that was introduced in commit
c51041f45400928cd64fbc8f389c0dd0dd15f82f /
https://chromium-review.googlesource.com/c/v8/v8/+/2336793, which reversed the behavior of the perf_basic_prof_only_functions flag.
This also refactors the equivalent guard in LinuxPerfJitLogger to use the same inline CodeKind API for identifying JS Functions. This is unrelated to the bug, but it seems a fair rider to add on here.
Bug: v8:14387
Change-Id: I25766b0d45f4c65dfec5ae01e094a1ed94111054
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4954225
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#90501}
Refs: v8/v8@f7d000a
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/v8-update

@nodejs-github-botnodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. v20.x v8 engine Issues and PRs related to the V8 dependency. labels Oct 23, 2023
@targos

Copy link
Copy Markdown
Member

I included your commit in #50077

@targos

Copy link
Copy Markdown
Member

Commit landed with #50077

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buildIssues and PRs related to build files or the CI.needs-ciPRs that need a full CI run.v8 engineIssues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@lukealbao@nodejs-github-bot@targos