aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-03-15 17:39:50 +0000
committerZhenyu Wang <[email protected]>2018-05-17 22:05:10 +0800
commit579e2f6d999991d2d2dd39c7185cba0a97137cee (patch)
tree90a9675322a7ead8554c1b9e0c426731fb885165 /tools/perf/scripts/python/compaction-times.py
parent1c6ccad8a4b110bac3f9ff6db954ab5a74c2e861 (diff)
drm/i915/gvt: Use offsetofend() rather than offsetof + sizeof
Compute the offset of the end of the crc32 field using offsetofend() rather than open-coding. Signed-off-by: Chris Wilson <[email protected]> Cc: Zhenyu Wang <[email protected]> Cc: Zhi Wang <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions