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

October 2018 SystemTap Tapset Reference