[RFC PATCH 1/1] tracing: support dynamic string field types for synthetic events

2020-09-25 Thread Axel Rasmussen
It's typical [1] to define tracepoint string fields as "const char *", using the __string, __assign_str, and __get_str helpers. For synthetic event definitions, the only available mechanism to define a string type is a fixed-size char array ("char[]") [2]. Without this patch, since the type

Re: [RFC PATCH 1/1] tracing: support dynamic string field types for synthetic events

2020-09-25 Thread Tom Zanussi
Hi Axel, On Fri, 2020-09-25 at 12:08 -0700, Axel Rasmussen wrote: > It's typical [1] to define tracepoint string fields as "const char *", > using the __string, __assign_str, and __get_str helpers. For synthetic > event definitions, the only available mechanism to define a string type > is a