tetragon icon indicating copy to clipboard operation
tetragon copied to clipboard

troubleshooting: add a bpf map for unexpected errors in bpf code

Open kkourt opened this issue 1 year ago • 2 comments

There are many places in our bpf code where we exit without generating the event when unexpected error happens. For troubleshooting and debugging it would be good to track this information so that we know if we hit any of those unexpected error paths. This can be implemented with a BPF map that maintains a counter per code location where we return early.

kkourt avatar Jan 12 '24 08:01 kkourt

Many maps exist now for individual sensors. Is this to capture cases that don't already have maps or to somehow unify the error maps?

jrfastab avatar Jan 13 '24 00:01 jrfastab

The purpose of this issue is to account for cases where we silently return. It is not about unifying the error maps.

kkourt avatar Jan 15 '24 07:01 kkourt