Skip to content

Commit

Permalink
bpf: remove stale comments
Browse files Browse the repository at this point in the history
Remove stale comments since previous commits implenented cgroup
tracking.

Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
  • Loading branch information
kkourt committed Dec 2, 2024
1 parent 8cff466 commit b7f7628
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions bpf/process/bpf_process_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -537,16 +537,6 @@ __event_get_current_cgroup_name(struct cgroup *cgrp, struct msg_k8s *kube)
{
const char *name;

/* TODO: check if we have Tetragon cgroup configuration and that the
* tracking cgroup ID is set. If so then query the bpf map for
* the corresponding tracking cgroup name.
*/

/* TODO: we gather current cgroup context, switch to tracker see above,
* and if that fails for any reason or if we don't have the cgroup name
* of tracker, then we can continue with current context.
*/

name = get_cgroup_name(cgrp);
if (name)
probe_read_str(kube->docker_id, KN_NAME_LENGTH, name);
Expand Down

0 comments on commit b7f7628

Please sign in to comment.