From: kajoljain Subject: Re: [PATCH v7 2/5] perf/jevents: Add new structure to pass json fields. Date: Fri, 4 Sep 2020 14:00:38 +0530 Message-ID: <7da87918-2ddd-5090-5ed4-0c209a75858b@linux.ibm.com> References: <20200902160439.335232-1-kjain@linux.ibm.com> <20200902160439.335232-3-kjain@linux.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , pc@us.ibm.com, Jiri Olsa , Andi Kleen , Yao Jin , linux-kernel , linux-perf-users , Ian Rogers , maddy@linux.ibm.com, ravi.bangoria@linux.ibm.com, John Garry List-Id: linux-perf-users.vger.kernel.org On 9/3/20 8:24 PM, Namhyung Kim wrote: > Hello, > > On Thu, Sep 3, 2020 at 1:05 AM Kajol Jain 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 >> Reviewed-by: Andi Kleen