]> git.kaiwu.me - haproxy.git/commit
MINOR: stats: use stat_col storage stat_cols_info
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 17 Mar 2025 10:37:10 +0000 (11:37 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 20 Mar 2025 10:38:32 +0000 (11:38 +0100)
commitaf68343a56821d15963e7bdc1dade68e34a2e7c4
tree6533abe304c44ebf41eb437a1e6b71f2a8b26424
parent8aa8626d12dab849b8e142e2b06adf1b3b26da8d
MINOR: stats: use stat_col storage stat_cols_info

Use stat_col storage for stat_cols_info[] array instead of name_desc.

As documented in 65624876f ("MINOR: stats: introduce a more expressive
stat definition method"), stat_col supersedes name_desc storage but
it remains backward compatible. Here we migrate to the new API to be
able to further extend stat_cols_info[] in following patches.
include/haproxy/stats.h
src/stats.c