DOKK / manpages / debian 10 / 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)

October 2018 SystemTap Tapset Reference