From: vitaly prosyak <vprosyak@amd.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>,
Peter Senna Tschudin <peter.senna@linux.intel.com>,
igt-dev@lists.freedesktop.org, christian.koenig@amd.com,
alexander.deucher@amd.com, jesse.zhang@amd.com,
harry.wentland@amd.com, zbigniew.kempczynski@intel.com,
ryszard.knop@intel.com, lucas.demarchi@intel.com,
katarzyna.piecielska@intel.com,
Jonathan Cavitt <jonathan.cavitt@intel.com>,
vitaly.prosyak@amd.com
Subject: Re: [PATCH v7 i-g-t 1/3] runner/kmemleak: library to interact with kmemleak
Date: Thu, 6 Mar 2025 22:59:32 -0500 [thread overview]
Message-ID: <0a7e30d7-7190-483a-ad4c-2401dd6dc036@amd.com> (raw)
In-Reply-To: <20250306123229.bmy6fhk7nojrs2wg@kamilkon-desk.igk.intel.com>
Hi Kamil and Peter,
On 2025-03-06 07:32, Kamil Konieczny wrote:
> Hi Peter,
> On 2025-02-28 at 08:04:30 +0100, Peter Senna Tschudin wrote:
>>
>> On 27.02.2025 11:18, Peter Senna Tschudin wrote:
>>> Adds a simple library for interacting with kmemleak and add
>>> unit testing for the library. There are two modes intended to
>>> integrate with igt_runner:
>>> - once: collect kmemleaks after all test completed
>>> - each: collect kmemleaks after eachb test completes
>>>
>>> To use the library include "kmemleak.h", call runner_kmemleak_init()
>>> to check if kmemleak is enabled and finally call runner_kmemleak()
>>> to collect kmemleaks. runner_kmemleak() expect the following
>>> arguments:
>>> - const char *last_test: Name of the last lest or NULL
>>> - int resdirfd: file descriptor of the results directory
>>> - bool kmemleak_each: Are we scanning once or scanning after
>>> each test?
>>> - bool sync: sync after each write?
>>>
>>> Cc: christian.koenig@amd.com
>>> Cc: alexander.deucher@amd.com
>>> Cc: jesse.zhang@amd.com
>>> Cc: harry.wentland@amd.com
>>> Cc: zbigniew.kempczynski@intel.com
>>> Cc: kamil.konieczny@linux.intel.com
>>> Cc: ryszard.knop@intel.com
>>> Cc: lucas.demarchi@intel.com
>>> Cc: katarzyna.piecielska@intel.com
>> Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
The series of three patches looks good to me. We would like to see this merged as soon as possible to validate it in our CI.
We will provide feedback as needed.
As Kamil mentioned, I’ve added the link:
https://lore.kernel.org/all/20250306123229.bmy6fhk7nojrs2wg@kamilkon-desk.igk.intel.com/
Thanks,
Vitaly
> A note to Peter for future reference: please send such r-b
> additions with at least a word or two why and from where
> it comes, give a link to lore.kernel.org or to patchwork
> so you will make my work easy and do not require from me
> to search your other mailing threads.
>
> You could also remind about it a maintainer to add this at merge
> or send new release with this added, then an explanation will
> naturally appear in release notes in cover letter.
>
> Regards,
> Kamil
>
>>> Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
>>> Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
>>> Signed-off-by: Peter Senna Tschudin <peter.senna@linux.intel.com>
>>> ---
>>> runner/kmemleak.c | 273 ++++++++++++++++++++++++++++++++++
>>> runner/kmemleak.h | 16 ++
>>> runner/meson.build | 11 +-
>>> runner/runner_kmemleak_test.c | 267 +++++++++++++++++++++++++++++++++
> [...]
>
next prev parent reply other threads:[~2025-03-07 3:59 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 10:18 [PATCH v7 i-g-t 0/3] Integrate kmemleak scans in igt_runner Peter Senna Tschudin
2025-02-27 10:18 ` [PATCH v7 i-g-t 1/3] runner/kmemleak: library to interact with kmemleak Peter Senna Tschudin
2025-02-28 7:04 ` Peter Senna Tschudin
2025-03-06 12:32 ` Kamil Konieczny
2025-03-07 3:59 ` vitaly prosyak [this message]
2025-03-06 12:02 ` Kamil Konieczny
2025-02-27 10:18 ` [PATCH v7 i-g-t 2/3] runner/executor: Integrate igt_kmemleak scans Peter Senna Tschudin
2025-02-28 7:05 ` Peter Senna Tschudin
2025-03-06 12:25 ` Kamil Konieczny
2025-02-27 10:18 ` [PATCH v7 i-g-t 3/3] scripts/run-tests.sh: Add support to kmemleak reports and igt_facts Peter Senna Tschudin
2025-02-28 7:07 ` Peter Senna Tschudin
2025-02-28 3:56 ` ✓ Xe.CI.BAT: success for Integrate kmemleak scans in igt_runner (rev5) Patchwork
2025-02-28 4:28 ` ✓ i915.CI.BAT: " Patchwork
2025-02-28 8:37 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-28 9:06 ` Peter Senna Tschudin
2025-02-28 11:53 ` Ravali, JupallyX
2025-03-05 7:28 ` ✗ i915.CI.Full: " Patchwork
2025-03-05 7:44 ` Peter Senna Tschudin
2025-03-05 16:12 ` Illipilli, TejasreeX
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0a7e30d7-7190-483a-ad4c-2401dd6dc036@amd.com \
--to=vprosyak@amd.com \
--cc=alexander.deucher@amd.com \
--cc=christian.koenig@amd.com \
--cc=harry.wentland@amd.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jesse.zhang@amd.com \
--cc=jonathan.cavitt@intel.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=katarzyna.piecielska@intel.com \
--cc=lucas.demarchi@intel.com \
--cc=peter.senna@linux.intel.com \
--cc=ryszard.knop@intel.com \
--cc=vitaly.prosyak@amd.com \
--cc=zbigniew.kempczynski@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox