Closed sfluor closed 5 years ago
Does it make sense to use a runtime flag for this instead?
👍
Should we generate two versions of the ELF object file? One with debugging enabled and one without to allow for enabling debug logs via a config option?
The size did not really changed (18M before and 18M now)
Nice idea 👍 ! I will add that in a follow up PR
This allows to have debug logs output in
/sys/kernel/debug/tracing/trace_pipe
when enablingnetwork_bpf_debug
, for instance:Output example: