Re: [PATCH v2 1/2] perf jevents: Tidy error handling

2020-10-23 Thread kajoljain
On 10/22/20 4:32 PM, John Garry wrote: > There is much duplication in the error handling for directory transvering > for prcessing JSONs. > > Factor out the common code to tidy a bit. > Patch looks good to me. Reviewed-By: Kajol Jain Thanks, Kajol Jain > Signed-off-by: John Garry > --- >

[PATCH v2 1/2] perf jevents: Tidy error handling

2020-10-22 Thread John Garry
There is much duplication in the error handling for directory transvering for prcessing JSONs. Factor out the common code to tidy a bit. Signed-off-by: John Garry --- tools/perf/pmu-events/jevents.c | 83 ++--- 1 file changed, 35 insertions(+), 48 deletions(-) diff