diff options
author | John Garry <john.garry@huawei.com> | 2020-10-22 19:02:26 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-11-04 09:42:41 -0300 |
commit | fa1b41a74d1136cbdd6960f36d7b9c7aa35c8139 (patch) | |
tree | 2a0837f30ad77a70a71cf40b613c7aa2c04cf276 /tools/perf/pmu-events/arch | |
parent | c5e6bc23355a3b33ffc170f92e315102f1e6a59c (diff) | |
download | linux-stable-fa1b41a74d1136cbdd6960f36d7b9c7aa35c8139.tar.gz linux-stable-fa1b41a74d1136cbdd6960f36d7b9c7aa35c8139.tar.bz2 linux-stable-fa1b41a74d1136cbdd6960f36d7b9c7aa35c8139.zip |
perf jevents: Tidy error handling
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 <john.garry@huawei.com>
Reviewed-By: Kajol Jain<kjain@linux.ibm.com>
Link: https://lore.kernel.org/r/1603364547-197086-2-git-send-email-john.garry@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events/arch')
0 files changed, 0 insertions, 0 deletions