diff options
| author | Jiri Pirko <[email protected]> | 2016-10-21 16:07:23 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-10-23 17:21:29 -0400 |
| commit | c1a3831121f60f614fe92314d8c271d4d89d0a9a (patch) | |
| tree | fde5cd59973f2e5cfca9641a8de79a43c3265094 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | f38a2314e55978e7b5c128175db27244665d0765 (diff) | |
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 <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions