Skip to content

C++ entry points not captured during profiling #29804

@DullReferenceException

Description

@DullReferenceException
  • Version: v12.11.1
  • Platform: Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64

When capturing profiling information via node --prof then processing via node --prof-process, the C++ entry points section is blank, and just the node binary is shown in the bottom-up profile. Even in the summary, it shows 0 ticks for C++:

 [C++]:
   ticks  total  nonlib   name

 [Summary]:
   ticks  total  nonlib   name
    937    6.0%   88.1%  JavaScript
      0    0.0%    0.0%  C++
    403    2.6%   37.9%  GC
  14654   93.2%          Shared libraries
    126    0.8%          Unaccounted

I have seen more details before when using the profiling available in the CLI. While processing the profiling data, I see a lot of Code move event for unknown code messages output, so maybe this relates? node --cpu-prof also seems to omit these details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    macosIssues and PRs related to the macOS platform / OSX.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions