Skip to content

Conversation

florianl
Copy link
Contributor

@florianl florianl commented Aug 2, 2024

The Linux kernel uses TASK_COMM_LEN to limit the length of the comm string. By default TASK_COMM_LEN is set to 16. For simplicity set TASK_COMM_LEN to 16 if it is not defined. As an alternative one could also include linux/sched.h.

@florianl florianl requested a review from a team as a code owner August 2, 2024 10:13
The Linux kernel uses TASK_COMM_LEN to limit the length of the comm string.
By default TASK_COMM_LEN is set to 16. For simplicity set TASK_COMM_LEN to
16 if it is not defined. As an alternative one could also include
linux/sched.h.

Signed-off-by: Florian Lehner <[email protected]>
@florianl florianl force-pushed the fix-example-task-comm-len branch from 16da36e to abbc0d7 Compare August 2, 2024 10:22
@lmb lmb merged commit ccdd12c into main Aug 5, 2024
17 checks passed
@lmb lmb deleted the fix-example-task-comm-len branch August 5, 2024 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants