Skip to content

system/gcov: Update gcov functionality #3106

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

Merged
merged 3 commits into from
Jun 26, 2025
Merged

Conversation

W-M-R
Copy link
Contributor

@W-M-R W-M-R commented Jun 25, 2025

Note: Please adhere to Contributing Guidelines.

Summary

All output methods are implemented at the kernel level and passed through environment variables.

Impact

None

Testing

  1. ci
  2. enable CONFIG_COVERAGE_MINI,the usage is the same as before, but when the path is a file, it will output the data to the file, and then it can be converted through nuttx/tools/gcov.py

W-M-R added 3 commits June 25, 2025 16:54
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
All implementations of gcov are sunk to the kernel implementation
1. Support three dump modes: serial port output, single file output, standard output

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
@cederom
Copy link
Contributor

cederom commented Jun 25, 2025

Thanks @W-M-R :-) Build errors, CI restarted :-)

Copy link
Contributor

@jerpelea jerpelea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the commit title please use
system/gcov: .....................

@jerpelea jerpelea changed the title Update gcov functionality system/gcov: Update gcov functionality Jun 26, 2025
Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @W-M-R :-) Please use system/gcov: ... commits topic as mentioned by @jerpelea :-)

@xiaoxiang781216 xiaoxiang781216 merged commit 92c4905 into apache:master Jun 26, 2025
50 of 75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants