summaryrefslogtreecommitdiff
path: root/tools/intel_reg.c
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2020-04-01 12:50:08 +0300
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2020-04-01 14:59:40 +0300
commit60475d9b41c58b7d256e83c7d53eaf7c2f1f8ecc (patch)
treee14c3818400fdb0205faa96608e81c6bfeb3e025 /tools/intel_reg.c
parent9556b29fe3ff142d468c8d0e01a8c4e1c6a26980 (diff)
tools/i915-perf-recorder: fix topology alignment issue
The additional alignment added when writing into the output was not accounted in the header. This is preventing reading the recorded data. Instead of adding the alignment when writing, just account for it when querying the topology. v2: Use calloc Drop unused var Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: f08865e58cd3 ("tools: add i915 perf recorder tool") Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/intel_reg.c')
0 files changed, 0 insertions, 0 deletions