Skip to content

Conversation

@kwisniewski98
Copy link
Contributor

Description

Script assumes that you have already compiled linux-perf module and takes path to it as argument. Script can be easily modified to load any module, it is focused on that particular module only by running start() on it. In future this should be part of NodeJS profiler, but for now it is only standalone script.

Related Issue

#418

Motivation and Context

In current state, gProfiler cannot profile NodeJS without restarting it. Functions from that script will allow it to attach to NodeJS process and enable generating debug symbols.

How Has This Been Tested?

Tested manually on app with CommonJS entry script

Checklist:

  • I have read the CONTRIBUTING document.
  • I have updated the relevant documentation.
  • I have added tests for new logic.

@michelhe michelhe requested review from Jongy and michelhe August 11, 2022 15:20
@Jongy
Copy link
Contributor

Jongy commented Aug 13, 2022

@kwisniewski98 as discussed, we should try to get a full flow working (with the DSO from node-linux-perf) and test it on container & non container nodejs apps. Then once we know that all parts connect well, we can focus on creating the jitdump DSO.

@Jongy Jongy mentioned this pull request Aug 29, 2022
3 tasks
@Jongy
Copy link
Contributor

Jongy commented Sep 1, 2022

Superseded by #451, all comments were resolved / moved there. Closing this

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants