Skip to content

Conversation

@vext01
Copy link
Contributor

@vext01 vext01 commented Apr 3, 2025

Lua-level source lines are attached to hot locations.

Example output:

Starting richards benchmark ...
yk-jit-event: start-tracing: ./richards.lua:489: while self.current_task ~= NO_TASK do
yk-jit-event: stop-tracing: ./richards.lua:489: while self.current_task ~= NO_TASK do
yk-jit-event: start-tracing: ./richards.lua:60: while NO_WORK ~= link do
yk-warning: tracing-aborted: encountered compiled trace: ./richards.lua:489: while self.current_task ~= NO_TASK do
yk-jit-event: start-tracing: ./richards.lua:60: while NO_WORK ~= link do
yk-warning: tracing-aborted: encountered compiled trace: ./richards.lua:489: while self.current_task ~= NO_TASK do
yk-jit-event: start-tracing: ./richards.lua:60: while NO_WORK ~= link do
yk-warning: tracing-aborted: encountered compiled trace: ./richards.lua:489: while self.current_task ~= NO_TASK do
yk-jit-event: start-tracing: ./richards.lua:60: while NO_WORK ~= link do
yk-warning: tracing-aborted: encountered compiled trace: ./richards.lua:489: while self.current_task ~= NO_TASK do
yk-jit-event: start-tracing: ./richards.lua:60: while NO_WORK ~= link do
yk-warning: tracing-aborted: encountered compiled trace: ./richards.lua:489: while self.current_task ~= NO_TASK do
yk-jit-event: start-tracing: ./richards.lua:60: while NO_WORK ~= link do
yk-warning: tracing-aborted: encountered compiled trace: ./richards.lua:489: while self.current_task ~= NO_TASK do
yk-jit-event: start-tracing: ./richards.lua:395: data.count = data.count + 1
yk-warning: tracing-aborted: encountered compiled trace: ./richards.lua:489: while self.current_task ~= NO_TASK do
yk-jit-event: start-tracing: ./richards.lua:395: data.count = data.count + 1
yk-jit-event: stop-tracing: ./richards.lua:395: data.count = data.count + 1
yk-jit-event: enter-jit-code: ./richards.lua:395: data.count = data.count + 1
...

@vext01
Copy link
Contributor Author

vext01 commented Apr 4, 2025

Assigning this to @ptersilie now since laurie is afk for the rest of the day.

@ptersilie
Copy link
Contributor

yk-jit-event: start-tracing: ./richards.lua:395: data.count = data.count + 1

Why is it tracing this line? That doesn't look like a loop?

@vext01
Copy link
Contributor Author

vext01 commented Apr 4, 2025

It's the first operation in a loop. I assume this is just inaccuracy in the debug info.

@ptersilie ptersilie added this pull request to the merge queue Apr 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 4, 2025
@ptersilie
Copy link
Contributor

11:11:25 lparser.c:35:10: fatal error: yk.h: No such file or directory
11:11:25 35 | #include <yk.h>
11:11:25 | ^~~~~~

Lua-level source lines are attached to hot locations.
@vext01
Copy link
Contributor Author

vext01 commented Apr 4, 2025

Force pushed a fix.

@ptersilie ptersilie added this pull request to the merge queue Apr 4, 2025
Merged via the queue into ykjit:main with commit e620be7 Apr 4, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants