On 9/3/20 8:24 PM, Namhyung Kim wrote:
> Hello,
> 
> On Thu, Sep 3, 2020 at 1:05 AM Kajol Jain <kj...@linux.ibm.com> wrote:
>>
>> This patch adds new structure called 'json_event' inside jevents.h
> 
> jevents.c ?

Hi Namhyung,
       Right, I will update it.

Thanks,
Kajol Jain
> 
> Thanks
> Namhyung
> 
>> file to improve the callback prototype inside jevent files.
>> Initially, whenever user want to add new field, they need to update
>> in all function callback which make it more and more complex with
>> increased number of parmeters.
>> With this change, we just need to add it in new structure 'json_event'.
>>
>> Signed-off-by: Kajol Jain <kj...@linux.ibm.com>
>> Reviewed-by: Andi Kleen <a...@linux.intel.com>

Reply via email to