Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 292 for jstack (0.13 sec)

  1. src/runtime/debug/stack.go

    )
    
    // PrintStack prints to standard error the stack trace returned by runtime.Stack.
    func PrintStack() {
    	os.Stderr.Write(Stack())
    }
    
    // Stack returns a formatted stack trace of the goroutine that calls it.
    // It calls [runtime.Stack] with a large enough buffer to capture the entire trace.
    func Stack() []byte {
    	buf := make([]byte, 1024)
    	for {
    		n := runtime.Stack(buf, false)
    		if n < len(buf) {
    			return buf[:n]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.html

    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="utf-8">
      <title>{{.Title}}</title>
      {{template "css" .}}
      {{template "stacks_css"}}
    </head>
    <body>
      {{template "header" .}}
      <div id="stack-holder">
        <div id="stack-chart"></div>
        <div id="current-details"></div>
      </div>
      <div id="action-menu" class="submenu">
        <span id="action-title"></span>
        <hr>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go

    		return // error already reported
    	}
    
    	// Make stack data and generate corresponding JSON.
    	stacks := rpt.Stacks()
    	b, err := json.Marshal(stacks)
    	if err != nil {
    		http.Error(w, "error serializing stacks for flame graph",
    			http.StatusInternalServerError)
    		ui.options.UI.PrintErr(err)
    		return
    	}
    
    	nodes := make([]string, len(stacks.Sources))
    	for i, src := range stacks.Sources {
    		nodes[i] = src.FullName
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/stacks.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests stack symbolization.
    
    //go:build ignore
    
    package main
    
    import (
    	"log"
    	"net"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    	"time"
    )
    
    func main() {
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/security_test.go

    	{"-fno-pie"},
    	{"-fPIE"},
    	{"-fno-PIE"},
    	{"-fsplit-stack"},
    	{"-fno-split-stack"},
    	{"-fstack-xxx"},
    	{"-fno-stack-xxx"},
    	{"-fsanitize=hands"},
    	{"-g"},
    	{"-ggdb"},
    	{"-march=souza"},
    	{"-mcmodel=medium"},
    	{"-mcpu=123"},
    	{"-mfpu=123"},
    	{"-mlarge-data-threshold=16"},
    	{"-mtune=happybirthday"},
    	{"-mstack-overflow"},
    	{"-mno-stack-overflow"},
    	{"-mmacosx-version"},
    	{"-mnop-fun-dllimport"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. .github/workflows/slack-notifier.yml

    permissions: {}
    
    jobs:
      send-slack-notification:
        if: ${{ github.event.label.name == 'in:ide' || github.event.label.name == 'in:eclipse-plugin' || github.event.label.name == 'in:idea-plugin' || github.event.label.name == 'in:tooling-api' }}
        runs-on: ubuntu-latest
        steps:
          - name: Send Slack notification about issues with specific labels
            id: slack
            uses: slackapi/slack-github-action@v1.23.0
            with:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/internal/trace/event/event.go

    	//
    	// An event may not be both a timed event and have data.
    	HasData bool
    
    	// IsStack indicates that the event represents a complete
    	// stack trace. Specifically, it means that after the arguments
    	// there's a varint length, followed by 4*length varints. Each
    	// group of 4 represents the PC, file ID, func ID, and line number
    	// in that order.
    	IsStack bool
    
    	// Experiment indicates the ID of an experiment this event is associated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/internal/trace/parser.go

    	EvGoBlockRecv       = 23 // goroutine blocks on chan recv [timestamp, stack]
    	EvGoBlockSelect     = 24 // goroutine blocks on select [timestamp, stack]
    	EvGoBlockSync       = 25 // goroutine blocks on Mutex/RWMutex [timestamp, stack]
    	EvGoBlockCond       = 26 // goroutine blocks on Cond [timestamp, stack]
    	EvGoBlockNet        = 27 // goroutine blocks on network [timestamp, stack]
    	EvGoSysCall         = 28 // syscall enter [timestamp, stack]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/internal/trace/raw/doc.go

    		data="hello world\x00"
    
    These events are identified in their spec by the HasData flag.
    
    The second special case consists of stack events. These events are identified
    by the IsStack flag. These events also have a trailing unsigned integer argument
    describing the number of stack frame descriptors that follow. Each stack frame
    descriptor is on its own line following the event, consisting of four signed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/internal/trace/internal/testgen/go122/trace.go

    	g.strings[s] = id
    	return id
    }
    
    // Stack registers a stack with the trace.
    //
    // This is a convenience function for easily adding correct
    // stacks to traces.
    func (g *Generation) Stack(stk []trace.StackFrame) uint64 {
    	if len(stk) == 0 {
    		return 0
    	}
    	if len(stk) > 32 {
    		panic("stack too big for test")
    	}
    	var stkc stack
    	copy(stkc.stk[:], stk)
    	stkc.len = len(stk)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top