Re: [PATCH] tracing: fix "gfp_t" format for synthetic events

2019-10-17 Thread Tom Zanussi
Hi Zhengjun, On Thu, 2019-10-17 at 16:38 +0800, Zhengjun Xing wrote: > In the format of synthetic events, the "gfp_t" is shown as > "signed:1", > but in fact the "gfp_t" is "unsigned", should be shown as "signed:0". > The offset should be increased by the real size of each field, rather > than by

[PATCH] tracing: fix "gfp_t" format for synthetic events

2019-10-17 Thread Zhengjun Xing
In the format of synthetic events, the "gfp_t" is shown as "signed:1", but in fact the "gfp_t" is "unsigned", should be shown as "signed:0". The offset should be increased by the real size of each field, rather than by the size of "u64". The issue can be reproduced by the following commands: echo