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

[MONO] Incorrect timestamp for perf events #88373

Closed
wants to merge 0 commits into from

Conversation

saitama951
Copy link
Contributor

@saitama951 saitama951 commented Jul 4, 2023

when added support for the debug info records with #85107 ,The perf was not able to map to the jitted-so's on top of the BenchmarkDotNet library.
i.e

5.47%  dotnet           [unknown]              [.] 0x000003ffa1fdc7e6

hence the perf source code annotation fails. on deeper inspection with the perf script logs, we noticed that the fork events and the mmap2 events were out of order. it seems HAVE_CLOCK_GETTIME i.e in configure.ac was removed while cleaning up the older makefile build system. hence returning always 0.
reference commit:- #47758

CC:- @fanyang-mono @vargaz

@vargaz
Copy link
Contributor

vargaz commented Jul 4, 2023

Wouldn't be better to put back the configure check ?

@saitama951 saitama951 closed this Jul 5, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-meta-mono community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants