Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ProfileLabels (0.15 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    	if err := report.PrintAssembly(out, rpt, ui.options.Obj, maxEntries); err != nil {
    		http.Error(w, err.Error(), http.StatusBadRequest)
    		ui.options.UI.PrintErr(err)
    		return
    	}
    
    	legend := report.ProfileLabels(rpt)
    	ui.render(w, req, "plaintext", rpt, errList, legend, webArgs{
    		TextBody: out.String(),
    	})
    
    }
    
    // source generates a web page containing source code annotated with profile
    // data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    func printDOT(w io.Writer, rpt *Report) error {
    	g, c := GetDOT(rpt)
    	graph.ComposeDot(w, g, &graph.DotAttributes{}, c)
    	return nil
    }
    
    // ProfileLabels returns printable labels for a profile.
    func ProfileLabels(rpt *Report) []string {
    	label := []string{}
    	prof := rpt.prof
    	o := rpt.options
    	if len(prof.Mapping) > 0 {
    		if prof.Mapping[0].File != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go

    	numLabelUnits := identifyNumLabelUnits(p, ui)
    	ropt, err := reportOptions(p, numLabelUnits, currentConfig())
    	if err == nil {
    		rpt := report.New(p, ropt)
    		ui.Print(strings.Join(report.ProfileLabels(rpt), "\n"))
    		if rpt.Total() == 0 && len(p.SampleType) > 1 {
    			ui.Print(`No samples were found with the default sample value type.`)
    			ui.Print(`Try "sample_index" command to analyze different sample values.`, "\n")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    }
    
    func printWebList(dst io.Writer, rpt *report.Report, obj plugin.ObjTool) error {
    	listing, err := report.MakeWebList(rpt, obj, -1)
    	if err != nil {
    		return err
    	}
    	legend := report.ProfileLabels(rpt)
    	return renderHTML(dst, "sourcelisting", rpt, nil, legend, webArgs{
    		Standalone: true,
    		Listing:    listing,
    	})
    }
    
    func applyCommandOverrides(cmd string, outputFormat int, cfg config) config {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top