DOKK / manpages / debian 12 / systemtap-doc / function::ktime_get_ns.3stap.en
FUNCTION::KTIME_GET_(3stap) Timestamp Functions FUNCTION::KTIME_GET_(3stap)

function::ktime_get_ns - Number of nanoseconds since boot


ktime_get_ns:long()

None

This function returns the system ktime.

tapset::timestamp_monotonic(3stap)

November 2022 SystemTap Tapset Reference