lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7da87918-2ddd-5090-5ed4-0c209a75858b@linux.ibm.com>
Date:   Fri, 4 Sep 2020 14:00:38 +0530
From:   kajoljain <kjain@...ux.ibm.com>
To:     Namhyung Kim <namhyung@...nel.org>
Cc:     Arnaldo Carvalho de Melo <acme@...nel.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        pc@...ibm.com, Jiri Olsa <jolsa@...hat.com>,
        Andi Kleen <ak@...ux.intel.com>,
        Yao Jin <yao.jin@...ux.intel.com>,
        linux-kernel <linux-kernel@...r.kernel.org>,
        linux-perf-users <linux-perf-users@...r.kernel.org>,
        Ian Rogers <irogers@...gle.com>, maddy@...ux.ibm.com,
        ravi.bangoria@...ux.ibm.com, John Garry <john.garry@...wei.com>
Subject: Re: [PATCH v7 2/5] perf/jevents: Add new structure to pass json
 fields.



On 9/3/20 8:24 PM, Namhyung Kim wrote:
> Hello,
> 
> On Thu, Sep 3, 2020 at 1:05 AM Kajol Jain <kjain@...ux.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 <kjain@...ux.ibm.com>
>> Reviewed-by: Andi Kleen <ak@...ux.intel.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ