[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20867ce3-901c-7821-fe02-ccd223fdcf17@redhat.com>
Date: Sat, 11 Jan 2025 13:00:31 -0500
From: Joe Lawrence <joe.lawrence@...hat.com>
To: Filipe Xavier <felipeaggger@...il.com>
Cc: Marcos Paulo de Souza <mpdesouza@...e.com>,
Josh Poimboeuf <jpoimboe@...nel.org>, Jiri Kosina <jikos@...nel.org>,
Miroslav Benes <mbenes@...e.cz>, Petr Mladek <pmladek@...e.com>,
Shuah Khan <shuah@...nel.org>, live-patching@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
Felipe Xavier <felipe_life@...e.com>
Subject: Re: [PATCH] selftests: livepatch: test if ftrace can trace a
livepatched function
On 1/10/25 12:13, Filipe Xavier wrote:
> Em 07/01/2025 13:23, Joe Lawrence escreveu:
>
>> On Thu, Jan 02, 2025 at 03:42:10PM -0300, Filipe Xavier wrote:
>>> This new test makes sure that ftrace can trace a
>>> function that was introduced by a livepatch.
>>>
>> Hi Filipe,
>>
>> Thanks for adding a test!
>>
>> Aside: another similar test could verify that the original function, in
>> this case cmdline_proc_show(), can still be traced despite it being
>> livepatched. That may be non-intuitive but it demonstrates how the
>> ftrace handler works.
>
> Thanks for the review Joe!
>
> I have fixed all points mentioned below,
>
> and have a patch ready to submit.
>
> Do you believe that this other similar test could be sent later,
>
> or is it required in this patch?
>
The second test could be added later if you like, either way is fine w/me.
Thanks,
--
Joe
Powered by blists - more mailing lists