diff options
| author | Gustavo A. R. Silva <[email protected]> | 2020-10-08 09:34:50 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-10-09 14:44:39 -0400 |
| commit | 201a4eb9dc960b6c081936e0990e289959707996 (patch) | |
| tree | f16b731687fac7a8bbc7bc4b006d5e94e997fe18 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 562f150fb93b44884f467f531b18cb0b8fdb2ff4 (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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions