On Tue, 19 Oct 2021 18:31:38 -0700 Kalesh Singh kaleshsingh@google.com wrote:
@@ -89,6 +91,8 @@ typedef u64 (*hist_field_fn_t) (struct hist_field *field, #define HIST_FIELD_OPERANDS_MAX 2 #define HIST_FIELDS_MAX (TRACING_MAP_FIELDS_MAX + TRACING_MAP_VARS_MAX) #define HIST_ACTIONS_MAX 8 +#define HIST_CONST_MAX 4
BTW, why is there a limit to the number of constants?
-- Steve
+#define HIST_CONST_DIGITS_MAX 21