-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
profiler: declare missing printErr
#13590
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
`v8/tools/tickprocessor.js` assumes presence of global `printErr`, which is defined in `d8`.
cc @nodejs/collaborators |
cc @nodejs/v8 |
@indutny any way to regression test this? (point me in the right direction I'll write the test)? |
No need === release test-tick-processor-unknown ===
Path: tick-processor/test-tick-processor-unknown
undefined:2649
printErr(str);
^
ReferenceError: printErr is not defined
at TickProcessor.printError (eval at <anonymous> (internal/v8_prof_processor.js:32:1), <anonymous>:2649:3)
at TickProcessor.LogReader.processLog_ (eval at <anonymous> (internal/v8_prof_processor.js:32:1), <anonymous>:2409:12)
at TickProcessor.LogReader.processLogLine (eval at <anonymous> (internal/v8_prof_processor.js:32:1), <anonymous>:2292:10)
at TickProcessor.processLogFile (eval at <anonymous> (internal/v8_prof_processor.js:32:1), <anonymous>:2677:10)
at eval (eval at <anonymous> (internal/v8_prof_processor.js:32:1), <anonymous>:3844:15)
at eval (eval at <anonymous> (internal/v8_prof_processor.js:32:1), <anonymous>:3848:3)
at internal/v8_prof_processor.js:32:1
at NativeModule.compile (bootstrap_node.js:563:7)
at Function.NativeModule.require (bootstrap_node.js:506:18)
at startup (bootstrap_node.js:116:20)
undefined:2649
printErr(str);
^ |
@refack yeah. |
Quick ci https://ci.nodejs.org/job/node-stress-single-test/1290/nodes=rhel72-s390x |
Landed in 27cc30a |
`v8/tools/tickprocessor.js` assumes presence of global `printErr`, which is defined in `d8`. PR-URL: #13590 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
`v8/tools/tickprocessor.js` assumes presence of global `printErr`, which is defined in `d8`. PR-URL: #13590 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
`v8/tools/tickprocessor.js` assumes presence of global `printErr`, which is defined in `d8`. PR-URL: #13590 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
landed on v6.x. Let me know if it should be backed out |
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
profiler?
v8/tools/tickprocessor.js
assumes presence of globalprintErr
, whichis defined in
d8
.