Skip to content
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

Add kernel stack traces to kprobes events #1429

Merged
merged 11 commits into from
Oct 11, 2023
19 changes: 19 additions & 0 deletions api/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
- [ProcessUprobe](#tetragon-ProcessUprobe)
- [RuntimeHookRequest](#tetragon-RuntimeHookRequest)
- [RuntimeHookResponse](#tetragon-RuntimeHookResponse)
- [StackTraceEntry](#tetragon-StackTraceEntry)
- [Test](#tetragon-Test)
- [UserNamespace](#tetragon-UserNamespace)

Expand Down Expand Up @@ -786,6 +787,7 @@ https://github.com/opencontainers/runtime-spec/blob/main/config.md#createcontain
| args | [KprobeArgument](#tetragon-KprobeArgument) | repeated | Arguments definition of the observed kprobe. |
| return | [KprobeArgument](#tetragon-KprobeArgument) | | Return value definition of the observed kprobe. |
| action | [KprobeAction](#tetragon-KprobeAction) | | Action performed when the kprobe matched. |
| stack_trace | [StackTraceEntry](#tetragon-StackTraceEntry) | repeated | Kernel stack trace to the call. |



Expand Down Expand Up @@ -871,6 +873,23 @@ RuntimeHookRequest synchronously propagates information to the agent about run-t



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

### StackTraceEntry



| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| address | [uint64](#uint64) | | address is the kernel function address. |
| offset | [uint64](#uint64) | | offset is the offset into the native instructions for the function. |
| symbol | [string](#string) | | symbol is the symbol name of the function. |






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

### Test
Expand Down
207 changes: 207 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.

Loading