forked from cilium/tetragon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: sadath-12 <[email protected]>
- Loading branch information
Showing
5 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
ebpf: | ||
|
||
we first get the system call on which we want to attach our work(function) that needs to be executed on the kernel | ||
and attach it through kprobe and also take support of kernel function again to retrieve the information about it | ||
those info is stored in some file for example the print one stores in /sys/kernel/debug/tracing/trace_pipe. | ||
but it becomes very tough when things multiply and scale so we eBPF maps | ||
|
||
There are different eBPF maps for different purposes (socket , network ... etc) | ||
|
||
Typical uses | ||
include the following: | ||
• User space writing configuration information to be retrieved by an eBPF | ||
program | ||
• An eBPF program storing state, for later retrieval by another eBPF program (or a | ||
future run of the same program) | ||
• An eBPF program writing results or metrics into a map, for retrieval by the user | ||
space app that will present results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
pkg/k8s/client/informers/externalversions/cilium.io/v1alpha1/tracingpolicynamespaced.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...n/pkg/k8s/client/informers/externalversions/cilium.io/v1alpha1/tracingpolicynamespaced.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.