Skip to content

Commit b0769db

Browse files
tdaudimtardy
authored andcommitted
docs : add docs for resolving arrays
Signed-off-by: Tristan d'Audibert <[email protected]>
1 parent 755680c commit b0769db

File tree

1 file changed

+9
-0
lines changed
  • docs/content/en/docs/concepts/tracing-policy

1 file changed

+9
-0
lines changed

docs/content/en/docs/concepts/tracing-policy/hooks.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,15 @@ spec:
679679
- action: Post
680680
```
681681

682+
It is also possible to resolve arrays (`int arr[100]`) and dynamic arrays
683+
(`int **dyn_arr`) by using square bracket notations, similarly as follows:
684+
685+
```yaml
686+
- index: 0
687+
resolve: some.field[12].some.subfield
688+
type: uint32
689+
```
690+
682691
## Data
683692

684693
Kprobes allow definition of `data` fields and following `matchData` selector

0 commit comments

Comments
 (0)