- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,091 for ktrace (0.23 sec)
-
src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple-bare-m.go
package main import ( "internal/trace" "internal/trace/event/go122" testgen "internal/trace/internal/testgen/go122" ) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { g := t.Generation(1) // One goroutine enters a syscall. b0 := g.Batch(trace.ThreadID(0), 0) b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning) b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 855 bytes - Viewed (0) -
src/internal/trace/testdata/README.md
trace, but with the `.go` extension removed. ## Trace test programs The trace test programs in the `testprog` directory generate traces to stdout. Otherwise they're just normal programs. ## Trace debug commands The `cmd` directory contains helpful tools for debugging traces. * `gotraceraw` parses traces without validation. It can produce a text version of the trace wire format, or convert
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.1K bytes - Viewed (0) -
src/go/build/deps_test.go
< internal/txtar; # v2 execution trace parser. FMT < internal/trace/event; internal/trace/event < internal/trace/event/go122; FMT, io, internal/trace/event/go122 < internal/trace/version; FMT, encoding/binary, internal/trace/version < internal/trace/raw; FMT, internal/trace/event, internal/trace/version, io, sort, encoding/binary < internal/trace/internal/oldtrace;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0) -
src/runtime/tracestack.go
nstk-- // skip runtime.main } id := trace.stackTab[gen%2].put(pcBuf[:nstk]) return id } // traceStackTable maps stack traces (arrays of PC's) to unique uint32 ids. // It is lock-free for reading. type traceStackTable struct { tab traceMap } // put returns a unique id for the stack trace pcs and caches it in the table, // if it sees the trace for the first time.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
src/internal/trace/testdata/mktests.go
if skip { return nil } // Create command. var trace, stderr bytes.Buffer cmd := exec.Command("go", "run", progPath) cmd.Stdout = &trace cmd.Stderr = &stderr // Run trace program; the trace will appear in stdout. fmt.Fprintf(os.Stderr, "running trace program %s...\n", name) if err := cmd.Run(); err != nil { log.Fatalf("running trace program: %v:\n%s", err, stderr.String()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.7K bytes - Viewed (0) -
src/net/http/pprof/pprof.go
// // go tool pprof http://localhost:6060/debug/pprof/mutex // // The package also exports a handler that serves execution trace data // for the "go tool trace" command. To collect a 5-second execution trace: // // curl -o trace.out http://localhost:6060/debug/pprof/trace?seconds=5 // go tool trace trace.out // // To view all available profiles, open http://localhost:6060/debug/pprof/ // in your browser. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 17:34:05 UTC 2024 - 14.1K bytes - Viewed (0) -
src/internal/trace/version/version.go
const headerFmt = "go 1.%d trace\x00\x00\x00" // ReadHeader reads the version of the trace out of the trace file's // header, whose prefix must be present in v. func ReadHeader(r io.Reader) (Version, error) { var v Version _, err := fmt.Fscanf(r, headerFmt, &v) if err != nil { return v, fmt.Errorf("bad file format: not a Go execution trace?") } if !v.Valid() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.7K bytes - Viewed (0) -
samples/bookinfo/src/productpage/productpage.py
'x-cloud-trace-context', # Grpc binary trace context. Compatible with OpenCensusAgent nad # Stackdriver Istio configurations. 'grpc-trace-bin', # b3 trace headers. Compatible with Zipkin, OpenCensusAgent, and # Stackdriver Istio configurations. # This is handled by opentelemetry above # 'x-b3-traceid', # 'x-b3-spanid', # 'x-b3-parentspanid',
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 14:35:54 UTC 2024 - 14.6K bytes - Viewed (1) -
platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/internal/AntlrSpecFactoryTest.groovy
_ * task.getArguments() >> ["-trace", "-traceLexer", "-traceParser", "-traceTreeWalker"] _ * task.isTrace() >> true _ * task.isTraceLexer() >> true _ * task.isTraceParser() >> true _ * task.isTraceTreeWalker() >> true def spec = factory.create(task, [] as Set, sourceSetDirectories) then: spec.arguments.count { it == "-trace" } == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 3.6K bytes - Viewed (0) -
src/internal/trace/oldtrace.go
// shouldn't result in a doubling of memory usage, even if all converted events // are kept alive, as we free batches once we're done with them. // // The conversion process is lossless. package trace import ( "errors" "fmt" "internal/trace/event" "internal/trace/event/go122" "internal/trace/internal/oldtrace" "io" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0)