Re: [PATCH v2 1/2] libtraceevent: Add boiler-plate code for cpumask types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 16 Nov 2022 14:41:53 +0000
Valentin Schneider <vschneid@xxxxxxxxxx> wrote:

> diff --git a/include/traceevent/event-parse.h b/include/traceevent/event-parse.h
> index f749cc2..2bb0f3e 100644
> --- a/include/traceevent/event-parse.h
> +++ b/include/traceevent/event-parse.h
> @@ -242,6 +242,7 @@ enum tep_print_arg_type {
>  	TEP_PRINT_OP,
>  	TEP_PRINT_FUNC,
>  	TEP_PRINT_BITMASK,
> +	TEP_PRINT_CPUMASK,
>  	TEP_PRINT_DYNAMIC_ARRAY_LEN,
>  	TEP_PRINT_HEX_STR,
>  };

I was about to apply this when I realized that this enum is exposed to
applications. Any new enum must go at the end.

-- Steve



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux