Displaying 1 result from an estimated 1 matches for "pxyz".
Did you mean:
bxyz
2024 Dec 13
1
[PATCH 1/7] vsprintf: Add %pTN to print task name
...t;> Name. With this abstraction, the user no longer needs to care about
>> retrieving task name.
>
> What is the advantage, please?
>
> Honestly, I believe that the meaning of
>
> printk("%s\n", task->comm);
>
> is much more clear than using a cryptic %pXYZ modifier:
>
> printk("%pTN\n", task);
>
>
> The %pXYZ modifiers makes sense only when the formatting of the printed
> information needs some processing. But this is a plain string.
> IMHO, it is not worth it. In fact, I believe that it is a
> counter productive....