Lines Matching +full:pin +full:- +full:id
4 * SPDX-License-Identifier: Apache-2.0
21 shell_error(sh, "Unable to parse thread ID %s (err %d)", argv[1], err); in cmd_kernel_thread_pin()
26 shell_error(sh, "Invalid thread id %p", (void *)thread); in cmd_kernel_thread_pin()
27 return -EINVAL; in cmd_kernel_thread_pin()
32 shell_error(sh, "Unable to parse CPU ID %s (err %d)", argv[2], err); in cmd_kernel_thread_pin()
36 shell_print(sh, "Pinning %p %s to CPU %d", (void *)thread, thread->name, cpu); in cmd_kernel_thread_pin()
39 shell_error(sh, "Failed - %d", err); in cmd_kernel_thread_pin()
41 shell_print(sh, "%p %s cpu_mask: 0x%x", (void *)thread, thread->name, in cmd_kernel_thread_pin()
42 thread->base.cpu_mask); in cmd_kernel_thread_pin()
48 KERNEL_THREAD_CMD_ARG_ADD(pin, NULL,
49 "Pin thread to a CPU.\n"
50 "Usage: kernel pin <thread ID> <CPU ID>",