-
Notifications
You must be signed in to change notification settings - Fork 3
tests/lapi: add sysprof test #151
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
Conversation
586ceda
to
421cf11
Compare
421cf11
to
4172439
Compare
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.
Hi, Sergey!
Thanks for the patch-set.
I'll proceed with the review per-patch below.
[PATCH 1/2] tests/lapi: add sysprof test
I would rather split this patch into 2 separate ones -- for jit.p
and misc.sysprof
correspondingly.
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.
[PATCH 2/2] tests/capi: omit sysprof testing
With test misc_sysprof_test.lua
added in the previous commit sysprof in luaL_loadbuffer_proto_test
is not needed anymore.
I do not agree with this:
- It handles the different API invocations (not the C callback, but the Lua function).
- The test added in the previous commit is not very useful unless the Lua mutator is added.
Thus, I suggest dropping this commit for now.
removed from the patchset (cherry-picked to the branch with |
4172439
to
08f5667
Compare
The patch adds test for sysprof built into LuaJIT.
08f5667
to
fc46317
Compare
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.
Sergey,
Thanks for the fixes!
LGTM!
No description provided.