-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Description
It looks like the image used by the tracer doesn't support GKE, as it doesn't have the necessary headers, I get the following output when I try to run the trace:
if your program has maps to print, send a SIGINT using Ctrl-C, if you want to interrupt the execution send SIGINT two times
chdir(/lib/modules/4.14.65+/build): No such file or directory
definitions.h:1:10: fatal error: 'net/sock.h' file not found
Unknown struct/union: 'sock'
Looking at the image build, it's not surprising that this is the result. @jasonkeene 's towel
tool, which is quite a similar tool, solves the problem of fetching google's headers in this way:
https://github.com/jasonkeene/towel/blob/master/docker/download-chromium-os-kernel-source
Perhaps some logic could be added to check the host OS version, and if it is google's container os download the headers using a similar methodology?
jasonkeene, fntlnz and xlucas
Metadata
Metadata
Assignees
Labels
No labels