Open nascentcore-eng opened 1 year ago
I have added one log line to https://github.com/tricorder-observability/starship-private/blob/main/src/agent/driver/module.go#L92
some wired string has been appear
So I think this is not only padding \x00
, but also possible that any character
This perf event attached to eBPF would produce trailing null chars. The size should be 38, but actually it's 44, with 6 extra \0 chars.
See src/agent/driver/module_test.go for the actual code.