Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ProfileLabels (0.28 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/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