- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for parseStackPCs (0.14 sec)
-
src/runtime/traceback_system_test.go
// there is no possibility of strings from the crash report (which may // contain PII) leaking into the telemetry system. // // (Copied from golang.org/x/telemetry/crashmonitor.parseStackPCs.) func parseStackPCs(crash string) ([]uintptr, error) { // getPC parses the PC out of a line of the form: // \tFILE:LINE +0xRELPC sp=... fp=... pc=... getPC := func(line string) (uint64, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go
// converts each line into telemetry form ("symbol:relative-line"), // and returns this as the name of a counter. func telemetryCounterName(crash []byte) (string, error) { pcs, err := parseStackPCs(string(crash)) if err != nil { return "", err } // Limit the number of frames we request. pcs = pcs[:min(len(pcs), 16)] if len(pcs) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 7.6K bytes - Viewed (0)