diff options
author | 2019-10-28 11:32:32 -0500 | |
---|---|---|
committer | 2019-10-29 10:47:14 +0000 | |
commit | 494f8b10d832456a96be4ee7317425f6936cabc8 (patch) | |
tree | db7af0599f5312da9742f5c8875d17162c7d2719 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.4-rc1 (diff) | |
download | linux-dev-494f8b10d832456a96be4ee7317425f6936cabc8.tar.xz linux-dev-494f8b10d832456a96be4ee7317425f6936cabc8.zip |
resource: Add a resource_list_first_type helper
A common pattern is looping over a resource_list just to get a matching
entry with a specific type. Add resource_list_first_type() helper which
implements this.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions