type internal/profile.Profile
86 uses
internal/profile (current package)
encode.go#L13: func (p *Profile) decoder() []decoder {
encode.go#L20: func (p *Profile) preEncode() {
encode.go#L108: func (p *Profile) encode(b *buffer) {
encode.go#L140: pp := m.(*Profile)
encode.go#L147: pp := m.(*Profile)
encode.go#L154: pp := m.(*Profile)
encode.go#L161: pp := m.(*Profile)
encode.go#L168: pp := m.(*Profile)
encode.go#L174: err := decodeStrings(b, &m.(*Profile).stringTable)
encode.go#L178: if *&m.(*Profile).stringTable[0] != "" {
encode.go#L184: func(b *buffer, m message) error { return decodeInt64(b, &m.(*Profile).dropFramesX) },
encode.go#L186: func(b *buffer, m message) error { return decodeInt64(b, &m.(*Profile).keepFramesX) },
encode.go#L188: func(b *buffer, m message) error { return decodeInt64(b, &m.(*Profile).TimeNanos) },
encode.go#L190: func(b *buffer, m message) error { return decodeInt64(b, &m.(*Profile).DurationNanos) },
encode.go#L194: pp := m.(*Profile)
encode.go#L199: func(b *buffer, m message) error { return decodeInt64(b, &m.(*Profile).Period) },
encode.go#L201: func(b *buffer, m message) error { return decodeInt64s(b, &m.(*Profile).commentX) },
encode.go#L203: func(b *buffer, m message) error { return decodeInt64(b, &m.(*Profile).defaultSampleTypeX) },
encode.go#L209: func (p *Profile) postDecode() error {
filter.go#L14: func (p *Profile) FilterSamplesByName(focus, ignore, hide *regexp.Regexp) (fm, im, hm bool) {
filter.go#L119: func (p *Profile) FilterSamplesByTag(focus, ignore TagMatch) (fm, im bool) {
legacy_profile.go#L57: func parseGoCount(b []byte) (*Profile, error) {
legacy_profile.go#L78: p := &Profile{
legacy_profile.go#L140: func (p *Profile) remapLocationIDs() {
legacy_profile.go#L157: func (p *Profile) remapFunctionIDs() {
legacy_profile.go#L179: func (p *Profile) remapMappingIDs() {
legacy_profile.go#L260: func ParseTracebacks(b []byte) (*Profile, error) {
legacy_profile.go#L263: p := &Profile{
legacy_profile.go#L324: func addTracebackSample(l []*Location, s []string, p *Profile) {
legacy_profile.go#L343: func parseCPU(b []byte) (*Profile, error) {
legacy_profile.go#L366: func cpuProfile(b []byte, period int64, parse func(b []byte) (uint64, []byte)) (*Profile, error) {
legacy_profile.go#L367: p := &Profile{
legacy_profile.go#L426: func parseCPUSamples(b []byte, parse func(b []byte) (uint64, []byte), adjust bool, p *Profile) ([]byte, map[uint64]*Location, error) {
legacy_profile.go#L471: func parseHeap(b []byte) (p *Profile, err error) {
legacy_profile.go#L481: p = &Profile{
legacy_profile.go#L507: p = &Profile{
legacy_profile.go#L516: p = &Profile{
legacy_profile.go#L687: func parseContention(b []byte) (*Profile, error) {
legacy_profile.go#L715: func parseCppContention(r *bytes.Buffer) (*Profile, error) {
legacy_profile.go#L716: p := &Profile{
legacy_profile.go#L869: func parseThread(b []byte) (*Profile, error) {
legacy_profile.go#L906: p := &Profile{
legacy_profile.go#L1004: func parseAdditionalSections(l string, b *bytes.Buffer, p *Profile) (err error) {
legacy_profile.go#L1025: func (p *Profile) ParseMemoryMap(rd io.Reader) error {
legacy_profile.go#L1144: func (p *Profile) addLegacyFrameInfo() {
legacy_profile.go#L1162: func isProfileType(p *Profile, t []string) bool {
merge.go#L21: func Merge(srcs []*Profile) (*Profile, error) {
merge.go#L63: return Merge([]*Profile{p})
merge.go#L73: func (p *Profile) Normalize(pb *Profile) error {
merge.go#L115: p *Profile
merge.go#L389: func combineHeaders(srcs []*Profile) (*Profile, error) {
merge.go#L419: p := &Profile{
merge.go#L440: func (p *Profile) compatible(pb *Profile) error {
profile.go#L21: type Profile struct {
profile.go#L126: func Parse(r io.Reader) (*Profile, error) {
profile.go#L132: var p *Profile
profile.go#L159: func parseLegacy(data []byte) (*Profile, error) {
profile.go#L160: parsers := []func([]byte) (*Profile, error){
profile.go#L182: func parseUncompressed(data []byte) (*Profile, error) {
profile.go#L183: p := &Profile{}
profile.go#L200: func (p *Profile) setMain() {
profile.go#L219: func (p *Profile) Write(w io.Writer) error {
profile.go#L232: func (p *Profile) CheckValid() error {
profile.go#L294: func (p *Profile) Aggregate(inlineFrame, function, filename, linenumber, address bool) error {
profile.go#L337: func (p *Profile) String() string {
profile.go#L441: func (p *Profile) Merge(pb *Profile, r float64) error {
profile.go#L482: func (p *Profile) Compatible(pb *Profile) error {
profile.go#L502: func (p *Profile) HasFunctions() bool {
profile.go#L513: func (p *Profile) HasFileLines() bool {
profile.go#L530: func (p *Profile) Copy() *Profile {
profile.go#L534: pp := &Profile{}
profile.go#L553: func (p *Profile) Demangle(d Demangler) error {
profile.go#L574: func (p *Profile) Empty() bool {
profile.go#L579: func (p *Profile) Scale(ratio float64) {
profile.go#L591: func (p *Profile) ScaleN(ratios []float64) error {
prune.go#L17: func (p *Profile) Prune(dropRx, keepRx *regexp.Regexp) {
prune.go#L81: func (p *Profile) RemoveUninteresting() error {
net/http/pprof
pprof.go#L307: p1, err = profile.Merge([]*profile.Profile{p0, p1})
pprof.go#L321: func collectProfile(p *pprof.Profile) (*profile.Profile, error) {