Skip to content

arm64 dwarf unwind wrong #3013

Open
Open
@zdyj3170101136

Description

go program, use fp to unwind in arm64 have bug:

golang/go#70804.

use parca-agent v0.31.1 to unwind.

program:

package main

import (
        "encoding/json"
        "net/http"
        _ "net/http/pprof"
)

func main() {
        go func() {
                http.ListenAndServe(":7079", nil )
        }()
        for {
                json.Marshal([]byte("sss"))
        }
}

cmd:

./parca-agent_0.31.1_Linux_aarch64 --local-store-directory=pprof --profiling-cpu-sampling-frequency=100 --profiling-duration=60s --dwarf-unwinding-mixed

the parca-agent output:

go tool pprof -svg
截屏2024-12-20 下午4 27 09

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions