summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2016-10-21 17:07:23 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-24 00:21:29 +0300
commitc1a3831121f60f614fe92314d8c271d4d89d0a9a (patch)
treefde5cd59973f2e5cfca9641a8de79a43c3265094 /tools/perf/scripts/python/event_analyzing_sample.py
parentf38a2314e55978e7b5c128175db27244665d0765 (diff)
downloadlinux-c1a3831121f60f614fe92314d8c271d4d89d0a9a.tar.xz
mlxsw: Convert resources into array
Since the number of resources is going to get much bigger, ease up the addition by simly defining IDs. Convert the existing structure members to a set array, one for validity, one for values. Introduce a set of getters and setters for easy access. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions