commit | 181bc180c4f9f13208e4e19e3f2ed2d1013b7db1 | [log] [tgz] |
---|---|---|
author | Sergei Trofimov <sergei.trofimov@arm.com> | Tue Oct 03 16:28:09 2017 +0100 |
committer | Sergei Trofimov <sergei.trofimov@arm.com> | Wed Oct 04 15:58:22 2017 +0100 |
tree | 5b2b870a73837236f1de62df4024f25199fa421e | |
parent | 92fb54d57b1c0d221101fae4c6aeb56a5948b3e2 [diff] |
Target: add read_tree_values and read_tree_values_flat Add two new methods to target that allow querying values of all sysfs nodes in a sub-directory structure all at once. The difference is that read_tree_values_flat returns a flat dict of path->value mappings; read_tree_values returns a nested dict structure that mimics the scanned sub-directories tree.