On 22.08.2024 08:14, David Gow wrote:
> On Wed, 21 Aug 2024 at 22:43, Michal Wajdeczko
> wrote:
>>
>> Currently, the 'static stub' API only allows function redirection
>> for calls made from the kthread of the current test, which prevents
>> the use of this functionalty when the tested code is
On Wed, 21 Aug 2024 at 22:43, Michal Wajdeczko
wrote:
>
> Currently, the 'static stub' API only allows function redirection
> for calls made from the kthread of the current test, which prevents
> the use of this functionalty when the tested code is also used by
> other threads, outside of the KUni
On 21.08.2024 23:38, Lucas De Marchi wrote:
> On Wed, Aug 21, 2024 at 04:43:04PM GMT, Michal Wajdeczko wrote:
>> Currently, the 'static stub' API only allows function redirection
>> for calls made from the kthread of the current test, which prevents
>> the use of this functionalty when the teste
On 21.08.2024 23:32, Rae Moar wrote:
> On Wed, Aug 21, 2024 at 10:43 AM Michal Wajdeczko
> wrote:
>>
> Hello!
>
> This is looking good and seems to be working well. I just had some
> questions below.
>
> Thanks!
> -Rae
>
>> Currently, the 'static stub' API only allows function redirection
>>
On Wed, Aug 21, 2024 at 04:43:04PM GMT, Michal Wajdeczko wrote:
Currently, the 'static stub' API only allows function redirection
for calls made from the kthread of the current test, which prevents
the use of this functionalty when the tested code is also used by
other threads, outside of the KUn
On Wed, Aug 21, 2024 at 10:43 AM Michal Wajdeczko
wrote:
>
Hello!
This is looking good and seems to be working well. I just had some
questions below.
Thanks!
-Rae
> Currently, the 'static stub' API only allows function redirection
> for calls made from the kthread of the current test, which pre
Currently, the 'static stub' API only allows function redirection
for calls made from the kthread of the current test, which prevents
the use of this functionalty when the tested code is also used by
other threads, outside of the KUnit test, like from the workqueue.
Add another set of macros to al