DOKK / manpages / debian 12 / systemtap-doc / function::task_cpu.3stap.en
FUNCTION::TASK_CPU(3stap) Context Functions FUNCTION::TASK_CPU(3stap)

function::task_cpu - The scheduled cpu of the task


task_cpu:long(task:long)

task

task_struct pointer

This function returns the scheduled cpu for the given task.

tapset::task(3stap)

November 2022 SystemTap Tapset Reference