MCPcopy Index your code
hub / github.com/dtrace4linux/linux / dtrace_gethrtime

Function dtrace_gethrtime

driver/dtrace_linux.c:400–463  ·  view source on GitHub ↗

/ We cannot call do_gettimeofday, or ktime_get_ts or any of their */ inferiors because they will attempt to lock on a mutex, and we */ end up not being able to trace fbt::kernel:nr_active. We have */ to emulate a stable clock reading ourselves. */ */ Later Linux kernels hide the xtime_cache data inside the */ 'timekeeper' struct (kernel/time/timekeeping.c). So */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

dtrace_hres_tickFunction · 0.85
dtrace_gethrestimeFunction · 0.85
dtrace_vtime_switchFunction · 0.85
dtrace_dif_variableFunction · 0.85
dtrace_dif_subrFunction · 0.85
dtrace_action_chillFunction · 0.85
dtrace_probeFunction · 0.85
dtrace_unregisterFunction · 0.85
dtrace_invalidateFunction · 0.85
dtrace_ecb_destroyFunction · 0.85
dtrace_buffer_switchFunction · 0.85
dtrace_state_deadmanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected