MCPcopy Create free account
hub / github.com/celzero/firestack / SetFlightRecordOutput

Function SetFlightRecordOutput

intra/tun2socks.go:460–462  ·  view source on GitHub ↗

SetFlightRecordOutput opens a writable file (and keeps it open) for Go's flight recorder to write to (on panics, for example). The flight recorder must be enabled via FlightRecorder(true) for this to be functional. Returns previous file name, if any. May error if fp cannot be opened. More: go.dev/bl

(fp string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

SetFlightRecordOutputFunction · 0.92

Tested by

no test coverage detected