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 committed Aug 11, 2023
1 parent d62e1a4 commit cc2350f
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"
generate: "^ksys_*"
kprobes:
- call: "list:ksys"
selectors:
- matchBinaries:
- operator: "In"
values:
- "/usr/bin/kill"

0 comments on commit cc2350f

Please sign in to comment.