Commit 40a84fca authored by John Garry's avatar John Garry Committed by Greg Kroah-Hartman
Browse files

perf jevents: Tidy error handling



[ Upstream commit fa1b41a7 ]

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: default avatarJohn Garry <john.garry@huawei.com>
Reviewed-By: default avatarKajol <Jain&lt;kjain@linux.ibm.com>
Link: https://lore.kernel.org/r/1603364547-197086-2-git-send-email-john.garry@huawei.com


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 628b31d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment