From 0af9a81415a38e4b63c37eaecb45661cb85d23a5 Mon Sep 17 00:00:00 2001 From: Jiri Olsa Date: Sat, 8 Jul 2023 12:58:52 +0000 Subject: [PATCH] tetragon: Remove unnecessary computation line It's leftover from latest refactoring [1]. [1] 8d8af6d7907d tetragon: Refactor generic_process_event* functions Signed-off-by: Jiri Olsa --- bpf/process/generic_calls.h | 1 - 1 file changed, 1 deletion(-) diff --git a/bpf/process/generic_calls.h b/bpf/process/generic_calls.h index 32ea26f82ac..be05ab6f2eb 100644 --- a/bpf/process/generic_calls.h +++ b/bpf/process/generic_calls.h @@ -57,7 +57,6 @@ generic_process_event(void *ctx, int index, struct bpf_map_def *heap_map, tail_call(ctx, tailcals, index + 1); /* Last argument, go send.. */ - total += generic_kprobe_common_size(); tail_call(ctx, tailcals, 6); return 0; }