Displaying 2 results from an estimated 2 matches for "yafang".
Did you mean:
yafan
2024 Dec 13
0
[PATCH 6/7] drivers: Repace get_task_comm() with %pTN
On 13. 12. 24, 6:46, Yafang Shao wrote:
> Since task->comm is guaranteed to be NUL-terminated, we can print it
> directly without the need to copy it into a separate buffer. This
> simplifies the code and avoids unnecessary operations.
>
> Signed-off-by: Yafang Shao <laoar.shao at gmail.com>
> Cc:...
2024 Dec 13
1
[PATCH 1/7] vsprintf: Add %pTN to print task name
Petr Mladek <pmladek at suse.com> writes:
> On Fri 2024-12-13 13:46:04, Yafang Shao wrote:
>> Since the task->comm is guaranteed to be NUL-ternimated, we can print it
>> directly. Add a new vsnprintf format specifier "%pTN" to print task comm,
>> where 'p' represents the task Pointer, 'T' stands for Task, and 'N' denots
&...