Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: sadath-12 <[email protected]>
  • Loading branch information
sadath-12 committed Jan 2, 2024
1 parent 9d78f7e commit c9d4c3d
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 4 deletions.
17 changes: 17 additions & 0 deletions ebpf_doc.txt
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
20 changes: 19 additions & 1 deletion info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,22 @@ understand tetracli code properly
February 22 - March 18 - GSOC
mid-January - LFX

how different clients are configured
how different clients are configured
understand that processmanager


understand these compos role in cilium -- ciliumClient,
v1.NewEndpoints(),
ipcache.New(),
fqdncache.New(),
servicecache.New(),

decode their structs
that events who is consuming just check from the eventschannel

handleMonitorSocket( consumes monitor events via ciliumState --> see the role of ciliumState here and how after monitoring it stores those events


pkg/watcher/crd/watcher.go will watch the crds and trigger

how is tetragonExecute executed ?
2 changes: 1 addition & 1 deletion pkg/grpc/process_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func NewProcessManager(
"enableProcessNs": option.Config.EnableProcessNs,
}).Info("Starting process manager")
return pm, nil
}
}

// Notify implements Listener.Notify.
func (pm *ProcessManager) Notify(event notify.Message) error {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c9d4c3d

Please sign in to comment.