MCPcopy
hub / github.com/google/gvisor / Debugf

Method Debugf

pkg/sentry/kernel/task_log.go:52–56  ·  view source on GitHub ↗

Debugf creates a debug string that includes the task ID.

(fmt string, v ...any)

Source from the content-addressed store, hash-verified

50
51// Debugf creates a debug string that includes the task ID.
52func (t *Task) Debugf(fmt string, v ...any) {
53 if log.IsLogging(log.Debug) {
54 log.DebugfAtDepth(1, *t.logPrefix.Load()+fmt, v...)
55 }
56}
57
58// IsLogging returns true iff this level is being logged.
59func (t *Task) IsLogging(level log.Level) bool {

Callers 15

deliverSignalMethod · 0.95
SignalReturnMethod · 0.95
sendSignalTimerLockedMethod · 0.95
initiateGroupStopMethod · 0.95
SetNameMethod · 0.95
SetRSeqMethod · 0.95
rseqAddrInterruptMethod · 0.95
oldRSeqInterruptMethod · 0.95
doSyscallMethod · 0.95
doVsyscallMethod · 0.95
doVsyscallInvokeMethod · 0.95

Calls 3

IsLoggingFunction · 0.92
DebugfAtDepthFunction · 0.92
LoadMethod · 0.65

Tested by

no test coverage detected