diff options
author | Rafael Antognolli <[email protected]> | 2017-04-18 09:41:40 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-04-24 15:13:51 -0700 |
commit | 1ea41163eb0657e7c6cd46c45bdbc3fd4e8e72f8 (patch) | |
tree | 90a04709966e49edf6d5d4569aac84749dba3e73 /.mailmap | |
parent | 50134cede1eee1222c1a28022b42b2177f7379c2 (diff) |
intel/aubinator: Correctly read variable length structs.
Before this commit, when a group with count="0" is found, only one field
is added to the struct representing the instruction. This causes only
one entry to be printed by aubinator, for variable length groups.
With this commit we "detect" that there's a variable length group
(count="0") and store the offset of the last entry added to the struct
when reading the xml. When finally reading the aubdump file, we check
the size of the group and whether we have variable number of elements,
and in that case, reuse the last field to add the remaining elements.
Signed-off-by: Rafael Antognolli <[email protected]>
Tested-by: Jason Ekstrand <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions