-
Notifications
You must be signed in to change notification settings - Fork 474
tetragon: assorted fixes #4376
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
base: main
Are you sure you want to change the base?
tetragon: assorted fixes #4376
Conversation
We can store parent and ancestors for loader events as well. Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Currently we do not store parent for loader event. There's no real reason for that, so let's have it in the same way with process/parent/ancestors as we have for other tracing events. Signed-off-by: Jiri Olsa <[email protected]>
To keep global has bools, adding sleepableOffload for now, one more is coming shortly. Signed-off-by: Jiri Olsa <[email protected]>
We have read_reg/write_regs in uprobe_offload.h and generic_calls.h, add just one copy to regs.h. Signed-off-by: Jiri Olsa <[email protected]>
✅ Deploy Preview for tetragon ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
|
||
| if in.useMulti { | ||
| progs, maps, err = createMultiUprobeSensor(name, ids, polInfo.name, hasSleepableOffload) | ||
| progs, maps, err = createMultiUprobeSensor(name, ids, polInfo.name, &has) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd pass has by value here; while it might be a little worse in term of performance, it clearly states that we are not going to play with the pointed data (ie: that has as seen from the caller is const). WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same below.
adding fixes/cleanup for loader events and register read/write