prologuer

command
v0.0.0-...-7b712e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Command prologuer reports what fraction of samples from a profile are from IPs marked as function prologue in DWARF line tables.

In Go binaries (as of Go 1.12), this counts the stack bounds check up to and including the conditional branch to morestack. It does not the instructions that call morestack or the instructions that create a function's stack frame.

This is best used with precise profile samples, such as

perf record -e cycles:ppp -- <cmd>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL