-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update from upstream (take 2) #4
Conversation
…et in the Command Line
Signed-off-by: Andrei Pangin <1749416+apangin@users.noreply.github.com>
…WallClockSample for Wall clock profiling
…events are unavailable
…vents if kernel profiling is unavailable
…tin_frame_address
|
@@ -1,30 +1,58 @@ | |||
PROFILER_VERSION=3.0.0.0 | |||
PROFILER_VERSION ?= 3.0.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To not forget: Change this back in case we decide not to bump.
long time = getVarlong(); | ||
int tid = getVarint(); | ||
int stackTraceId = getVarint(); | ||
int threadState = getVarint(); | ||
return new ExecutionSample(time, tid, stackTraceId, threadState); | ||
getVarint(); // contextId |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a manual addition and JFR conversion doesn't work without this. AFAIK in the current usage of the library this only affects tests, Pyroscope uses https://github.com/grafana/jfr-parser to ingest JFR files which does the same.
@korniltsev fyi
Like #3 but with a fix for the new tests (
AllocTests
was hanging) and without the GitHub action changes.