Swapping the fields reduces the size of the struct.
(I see no reason for the previous field order.)
typedef struct {
bool is_accounting; /// whether currently accounting the time to someone
- union kr_sockaddr addr; /// request source (to which we account) or AF_UNSPEC if unknown yet
bool stream;
+ union kr_sockaddr addr; /// request source (to which we account) or AF_UNSPEC if unknown yet
uint64_t stamp; /// monotonic nanoseconds, probably won't wrap
} defer_sample_state_t;
extern defer_sample_state_t defer_sample_state;
{% include "forward.lua.j2" %}
-- DEFER section ------------------------------------
+-- Force-disable defer to avoid the default defer config.
{% set disable_defer = true %}
{% include "defer.lua.j2" %}