FUNCTION::CPU(3stap) Context Functions FUNCTION::CPU(3stap)

function::cpu - Returns the current cpu number

    cpu:long()

None

This function returns the current cpu number.

tapset::context(3stap)

November 2023 SystemTap Tapset Reference