-
Notifications
You must be signed in to change notification settings - Fork 321
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
Probe llext #9643
Probe llext #9643
Conversation
FYI @lyakh |
Fix copy-paste error from SOF_MODULE_INIT() macro call. Signed-off-by: Jyri Sarha <[email protected]>
Add declaration for symbol probe_is_backend_configured(). Signed-off-by: Jyri Sarha <[email protected]>
The probe logging back-end does not use the ctx argument of log_backend_activate() for anything and putting the hook-function there is just a result of brainless copy-pasting from mtrace implementation. Signed-off-by: Jyri Sarha <[email protected]>
The only valid log identifier should be full_id == 0, not anything with module_id == 0. This is not a functional problems as 0 should not be a valid module_id value. Signed-off-by: Jyri Sarha <[email protected]>
The declarations do not cause any harm, even if the implementation is not compiled in. Signed-off-by: Jyri Sarha <[email protected]>
Export base firmware symbols needed for modular probes. Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Jyri Sarha <[email protected]>
Remove the single assert() pulls in problematic symbols for llext. Signed-off-by: Jyri Sarha <[email protected]>
To build PROBE as module just set CONFIG_PROBE=m in Kconfig. Signed-off-by: Jyri Sarha <[email protected]>
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.
@jsarha any reason still draft ? Still validating - BTW LGTM.
I was waiting for zephyrproject-rtos/zephyr#81098 to be merged, but since it now has already two approvas, I think its Ok now to mark this ready for review. |
default y if CAVS | ||
help | ||
Select for enabling debug probes to extract/inject buffers | ||
|
||
if PROBE != n | ||
|
||
config PROBE_POINTS_MAX | ||
int "Maximum probe points" | ||
depends on PROBE |
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.
I think now with the if
above you don't need these depends
any more - here and below?
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.
Looks ok to me. I guess we have to wait for the Zephyr PR to be merged as this series enables module build.
@@ -5,11 +5,14 @@ | |||
menu "Probe" | |||
|
|||
config PROBE | |||
bool "Probes enabled" | |||
tristate "Probes enabled" | |||
default m if LIBRARY_DEFAULT_MODULAR |
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.
I guess this means we can't merge this before the Zephyr PR is merged...
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.
sof-docs fail and Intel LNL fails all known and tracked in https://github.com/thesofproject/sof/issues?q=is%3Aissue+is%3Aopen+label%3A%22Intel+Linux+Daily+tests%22 |
For probe llext module to work, this zephyrproject-rtos/zephyr#81098 needs to be merged to Zephyr tree.