Skip to content

Commit

Permalink
tetragon: Add documentation for uprobe options
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Olsa <[email protected]>
  • Loading branch information
olsajiri committed Apr 1, 2024
1 parent bff0675 commit 2de8e75
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion docs/content/en/docs/concepts/tracing-policy/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
```
Options array is passed and processed by each hook used in the spec file that
supports options. At the moment it's availabe for kprobe hooks.
supports options. At the moment it's availabe for kprobe and uprobe hooks.
- [`Kprobe Options`](#kprobe-options): options for kprobe hooks.

Expand All @@ -39,3 +39,25 @@ Example:
- name: "disable-kprobe-multi"
value: "1"
```

- [`Uprobe Options`](#uprobe-options): options for uprobe hooks.

## Uprobe options

- [`disable-uprobe-multi`](#disable-uprobe-multi): disable uprobe multi link

### disable-uprobe-multi

This option disables uprobe multi link interface for all the uprobes defined in
the spec file. If enabled, all the defined uprobes will be atached through standard
uprobe interface. It stays enabled for another spec file without this option.

It takes boolean as value, by default it's false.

Example:

```yaml
options:
- name: "disable-uprobe-multi"
value: "1"
```

0 comments on commit 2de8e75

Please sign in to comment.