On Mon, Sep 11, 2023 at 07:24:35PM +0800, Linyu Yuan wrote: > some trace event use an interger to to save a bit field info of gadget, > also some trace save endpoint name in string forat, it all can be > chagned to other way at trace event store phase. > > bit field can be replace with a union interger member which include > multiple bit fields. > > ep name stringe can be replace to a interger which contaion number > and dir info. Ok, but how much memory did you actually save here? Is the memory saved only if tracing is enbaled, or it is always? Is there a speed penality for these changes or is it the same? You are doing a lot of code reorginization without any real explaination of why this is needed, nor proof about it. thanks, greg k-h