Skip to content

Commit

Permalink
tetragon: Add ftrace generated list tracing policy example
Browse files Browse the repository at this point in the history
Adding ftrace generated list tracing policy example.

Signed-off-by: Jiri Olsa <[email protected]>
  • Loading branch information
olsajiri authored and kkourt committed Aug 17, 2023
1 parent 2a155cf commit f60404e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/tracingpolicy/list-generated-ftrace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata:
name: "all-ksys-for-kill"
spec:
lists:
- name: "ksys"
type: "generated_ftrace"
pattern: "^ksys_*"
kprobes:
- call: "list:ksys"
selectors:
- matchBinaries:
- operator: "In"
values:
- "/usr/bin/kill"

0 comments on commit f60404e

Please sign in to comment.