Skip to content

Commit

Permalink
tetragon: Add return kprobe action field
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Olsa <[email protected]>
  • Loading branch information
olsajiri committed Dec 4, 2023
1 parent 58a36a4 commit 0c33f57
Show file tree
Hide file tree
Showing 10 changed files with 603 additions and 525 deletions.
1 change: 1 addition & 0 deletions api/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ https://github.com/opencontainers/runtime-spec/blob/main/config.md#createcontain
| action | [KprobeAction](#tetragon-KprobeAction) | | Action performed when the kprobe matched. |
| stack_trace | [StackTraceEntry](#tetragon-StackTraceEntry) | repeated | Kernel stack trace to the call. |
| policy_name | [string](#string) | | Name of the Tracing Policy that created that kprobe. |
| return_action | [KprobeAction](#tetragon-KprobeAction) | | Action performed when the return kprobe executed. |



Expand Down
14 changes: 14 additions & 0 deletions api/v1/tetragon/codegen/eventchecker/eventchecker.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

364 changes: 189 additions & 175 deletions api/v1/tetragon/tetragon.pb.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions api/v1/tetragon/tetragon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ message ProcessKprobe {
repeated StackTraceEntry stack_trace = 7;
// Name of the Tracing Policy that created that kprobe.
string policy_name = 8;
// Action performed when the return kprobe executed.
KprobeAction return_action = 9;
}

message ProcessTracepoint {
Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/content/en/docs/reference/grpc-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ https://github.com/opencontainers/runtime-spec/blob/main/config.md#createcontain
| action | [KprobeAction](#tetragon-KprobeAction) | | Action performed when the kprobe matched. |
| stack_trace | [StackTraceEntry](#tetragon-StackTraceEntry) | repeated | Kernel stack trace to the call. |
| policy_name | [string](#string) | | Name of the Tracing Policy that created that kprobe. |
| return_action | [KprobeAction](#tetragon-KprobeAction) | | Action performed when the return kprobe executed. |

<a name="tetragon-ProcessLoader"></a>

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0c33f57

Please sign in to comment.