Re: [PATCH v2 1/5] tracing: Add support for creating hist trigger variables from literal

From: Steven Rostedt
Date: Wed Oct 20 2021 - 11:32:40 EST


On Tue, 19 Oct 2021 18:31:38 -0700
Kalesh Singh <kaleshsingh@xxxxxxxxxx> 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
>