DOKK / manpages / debian 11 / systemtap-doc / function::cpuid.3stap.en
FUNCTION::CPUID(3stap) Context Functions FUNCTION::CPUID(3stap)

function::cpuid - Returns the current cpu number


cpuid:long()

None

This function returns the current cpu number. Deprecated in SystemTap 1.4 and removed in SystemTap 1.5.

tapset::context(3stap)

November 2020 SystemTap Tapset Reference