From 8cd9cb996e3ce4ff1f14af09c43612534880f498 Mon Sep 17 00:00:00 2001 From: Jiri Olsa Date: Tue, 26 Dec 2023 14:29:15 +0000 Subject: [PATCH] tetragon: Add documentation for uprobe options Signed-off-by: Jiri Olsa --- .../docs/concepts/tracing-policy/options.md | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/content/en/docs/concepts/tracing-policy/options.md b/docs/content/en/docs/concepts/tracing-policy/options.md index 6c953f5721d..e949e3d00e5 100644 --- a/docs/content/en/docs/concepts/tracing-policy/options.md +++ b/docs/content/en/docs/concepts/tracing-policy/options.md @@ -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. @@ -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" +```