Skip to content

node --prof-process is broken #18451

@hashseed

Description

@hashseed

Repro:

git checkout 742ae6141c164a90442c363599ea0356ed250570
./configure
make -j100 node
./node --prof -e "for(var i=0;i<1E7;i++);"
./node --prof-process isolate*.log

Observation:

undefined:3402
class ArgumentsProcessor extends BaseArgumentsProcessor {
                                 ^

ReferenceError: BaseArgumentsProcessor is not defined
    at eval (eval at <anonymous> (internal/v8_prof_processor.js:38:1), <anonymous>:3402:34)
    at eval (eval at <anonymous> (internal/v8_prof_processor.js:38:1), <anonymous>:3947:3)
    at internal/v8_prof_processor.js:38:1
    at NativeModule.compile (bootstrap_node.js:626:7)
    at Function.NativeModule.require (bootstrap_node.js:558:18)
    at startup (bootstrap_node.js:140:20)
    at bootstrap_node.js:638:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolsIssues and PRs related to the tools directory.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions