Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why perf could not get the inlined func #1

Open
zdyj3170101136 opened this issue Jul 5, 2022 · 0 comments
Open

why perf could not get the inlined func #1

zdyj3170101136 opened this issue Jul 5, 2022 · 0 comments

Comments

@zdyj3170101136
Copy link

I want to use perf to run serial.go, and compare the accuracy between perf and go.

git clone https://github.com/chabbimilind/GoPprofDemo && cd GoPprofDemo
go build serial.go
perf record -g ./serial
perf report 

but i can not get the right inlined function.
截屏2022-07-05 下午3 42 48

Is it possible to use perf and get the inline function usage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant