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 2023 SystemTap Tapset Reference