function::cpu.3stap man page

function::cpu — Returns the current cpu number

Synopsis

cpu:long()

Arguments

None

Description

This function returns the current cpu number.

See Also0

tapset::context(3stap)

Info

March 2016 SystemTap Tapset Reference Context Functions