aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2020-10-08 09:34:50 -0500
committerAlex Deucher <[email protected]>2020-10-09 14:44:39 -0400
commit201a4eb9dc960b6c081936e0990e289959707996 (patch)
treef16b731687fac7a8bbc7bc4b006d5e94e997fe18 /tools/perf/scripts/python
parent562f150fb93b44884f467f531b18cb0b8fdb2ff4 (diff)
amd/amdgpu_ctx: Use struct_size() helper and kmalloc() (v2)
Make use of the new struct_size() helper instead of the offsetof() idiom. Also, use kmalloc() instead of kcalloc(). v2: squash in kzalloc fix Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions