Skip to content

Conversation

@olsajiri
Copy link
Contributor

adding fixes/cleanup for loader events and register read/write

We can store parent and ancestors for loader events as well.

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]>
@olsajiri olsajiri added the release-note/minor This PR introduces a minor user-visible change label Nov 24, 2025
@netlify
Copy link

netlify bot commented Nov 24, 2025

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 976b67f
🔍 Latest deploy log https://app.netlify.com/projects/tetragon/deploys/6924243813e8a000081e1a93
😎 Deploy Preview https://deploy-preview-4376--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@olsajiri olsajiri marked this pull request as ready for review November 24, 2025 11:46
@olsajiri olsajiri requested a review from a team as a code owner November 24, 2025 11:46
@olsajiri olsajiri requested review from kkourt and tpapagian November 24, 2025 11:46

if in.useMulti {
progs, maps, err = createMultiUprobeSensor(name, ids, polInfo.name, hasSleepableOffload)
progs, maps, err = createMultiUprobeSensor(name, ids, polInfo.name, &has)
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same below.

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

Labels

release-note/minor This PR introduces a minor user-visible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants