From 5333b63c0a9dd60f0d2bfe2c9b51f1ff0d561f97 Mon Sep 17 00:00:00 2001 From: Andre Fredette Date: Tue, 5 Nov 2024 16:43:27 -0500 Subject: [PATCH] Add sample kprobe yaml with 9 global variables Signed-off-by: Andre Fredette --- ...man.io_v1alpha1_globals_kprobeprogram.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 config/samples/bpfman.io_v1alpha1_globals_kprobeprogram.yaml diff --git a/config/samples/bpfman.io_v1alpha1_globals_kprobeprogram.yaml b/config/samples/bpfman.io_v1alpha1_globals_kprobeprogram.yaml new file mode 100644 index 000000000..285d61fdf --- /dev/null +++ b/config/samples/bpfman.io_v1alpha1_globals_kprobeprogram.yaml @@ -0,0 +1,39 @@ +apiVersion: bpfman.io/v1alpha1 +kind: KprobeProgram +metadata: + labels: + app.kubernetes.io/name: kprobeprogram + name: kprobe-globals-test +spec: + bpffunctionname: kprobe_globals + # Select all nodes + nodeselector: {} + func_name: try_to_wake_up + offset: 0 + retprobe: false + bytecode: + image: + url: quay.io/bpfman-bytecode/kprobe_globals:latest + globaldata: + sampling: + - 0x01 + - 0x02 + - 0x03 + - 0x04 + trace_messages: + - 0x05 + enable_rtt: + - 0x06 + enable_pca: + - 0x07 + enable_dns_tracking: + - 0x08 + enable_flows_filtering: + - 0x09 + dns_port: + - 0x0A + - 0x0B + enable_network_events_monitoring: + - 0x0C + network_events_monitoring_groupid: + - 0x0D