Skip to content

uprobe: Allow cel_expr filter explicitely for entry probes#5126

Draft
olsajiri wants to merge 4 commits into
mainfrom
pr/olsajiri/misc
Draft

uprobe: Allow cel_expr filter explicitely for entry probes#5126
olsajiri wants to merge 4 commits into
mainfrom
pr/olsajiri/misc

Conversation

@olsajiri

Copy link
Copy Markdown
Contributor

It is effectively the case, so let's be explicit about it.

@olsajiri olsajiri force-pushed the pr/olsajiri/misc branch 4 times, most recently from a98d74e to ff84866 Compare June 11, 2026 12:18
@olsajiri olsajiri added the release-note/minor This PR introduces a minor user-visible change label Jun 12, 2026
@olsajiri olsajiri force-pushed the pr/olsajiri/misc branch 3 times, most recently from 16f0f7f to aac5391 Compare June 12, 2026 22:08
olsajiri added 4 commits June 17, 2026 10:30
Using setupCelExpr from both kprobe and uprobe sensor setup.

Also do not invoke the setup if it's already done:
  load.RewriteProg != nil

or if it's return probe program:
  load.RetProbe

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
We can get the op value from the event itself and having
less arguments simplifies further changes.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
We can get it directly in selector_arg_offset.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
We can get it directly in selector_arg_offset.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
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.

1 participant