[PATCH] lib/amd: add memleak functions

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Feb 19 10:41:49 UTC 2025


Hi Vitaly,
On 2025-02-18 at 06:43:41 -0500, vitaly.prosyak at amd.com wrote:
> From: Vitaly Prosyak <vitaly.prosyak at amd.com>
> 
> refactor memory leak functions and add
> them to the library for reuse across different tests.
> 
> Cc: Christian Koenig <christian.koenig at amd.com>
> Cc: Alexander Deucher <alexander.deucher at amd.com>
> Cc: Jesse Zhang <jesse.zhang at amd.com>
> Cc: Harry Wentland <harry.wentland at amd.com>
> 
> Signed-off-by: Vitaly Prosyak <vitaly.prosyak at amd.com>
> ---
>  lib/amdgpu/amd_mem_leak.c   | 112 ++++++++++++++++++++++++++++++++++++
>  lib/amdgpu/amd_mem_leak.h   |  17 ++++++
>  lib/meson.build             |   1 +
>  tests/amdgpu/amd_mem_leak.c |  88 ++--------------------------
>
[...cut...]

Why moving to library when there is only one user?

Regards,
Kamil



More information about the igt-dev mailing list