Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no v8 stacks #219

Open
tmm1 opened this issue Nov 3, 2024 · 1 comment
Open

no v8 stacks #219

tmm1 opened this issue Nov 3, 2024 · 1 comment

Comments

@tmm1
Copy link

tmm1 commented Nov 3, 2024

i'm seeing kernel and nodejs/v8 C/c++ stacks, but no app level data. what's the best way to debug?

i'm using a nodejs fork called nsolid if that matters. the nsolid binary is also stripped, but i'm working to rebuild it.

@tmm1
Copy link
Author

tmm1 commented Nov 4, 2024

diff --git a/interpreter/nodev8/v8.go b/interpreter/nodev8/v8.go
index 01c09ab..be8a698 100644
--- a/interpreter/nodev8/v8.go
+++ b/interpreter/nodev8/v8.go
@@ -223,7 +223,7 @@ const (
 
 var (
 	// regex for the interpreter executable
-	v8Regex = regexp.MustCompile(`^(?:.*/)?node(\d+)?$`)
+	v8Regex = regexp.MustCompile(`^(?:.*/)?(?:nsolid|node)(\d+)?$`)
 
 	// The FileID used for V8 stub frames
 	v8StubsFileID = libpf.NewFileID(0x578b, 0x1d)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant