Skip to content

dist/tools/cosy: provide patch for PR #13#18343

Merged
benpicco merged 1 commit into
RIOT-OS:masterfrom
maribu:dist/tools/cosy
Jul 21, 2022
Merged

dist/tools/cosy: provide patch for PR #13#18343
benpicco merged 1 commit into
RIOT-OS:masterfrom
maribu:dist/tools/cosy

Conversation

@maribu

@maribu maribu commented Jul 20, 2022

Copy link
Copy Markdown
Member

Contribution description

The upstream PR #13 is not yet merged but fixes classification to no
longer classify most of RIOT's object files "unspecified" in the
.text view.

Since @Jnae authored the fix, I added her as author in the commit adding the patch to not steal credit.

Testing procedure

make cosy with a recent should now give sensible output. I can confirm that it fixes the issue for me.

Apparently on @benpicco 's machine it worked before. Maybe he can confirm it doesn't break anything.

Issues/PRs references

Upstream PR: haukepetersen/cosy#13

Implementation of @leandrolanzieri suggestion: https://forum.riot-os.org/t/suggestions-for-measuring-memory-usage/3666/7

The upstream PR RIOT-OS#13 is not yet merged but fixes classification to no
longer classify most of RIOT's object files "unspecified" in the
`.text` view.
@maribu maribu added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Area: tools Area: Supplementary tools labels Jul 20, 2022
@maribu maribu requested a review from benpicco July 20, 2022 09:37
@benpicco benpicco requested a review from haukepetersen July 20, 2022 10:11

@miri64 miri64 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK. Can confirm that this fixes the problem: I tried to run BOARD=iotlab-m3 make -C examples/gnrc_networking cosy -j on both master () and for this PR. On master, all but newlib symbols are categorized as unspecified. With this patch, it is sorted into the appropriate directories. With native there are still some unspecified symbols, but I don't think this has anything to do with what this patch is trying to accomplish.

@miri64 miri64 added CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jul 20, 2022
@benpicco benpicco merged commit 289b807 into RIOT-OS:master Jul 21, 2022
@maribu maribu deleted the dist/tools/cosy branch July 21, 2022 15:23
@maribu

maribu commented Jul 21, 2022

Copy link
Copy Markdown
Member Author

Thx :)

@maribu maribu added this to the Release 2022.10 milestone Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: tools Area: Supplementary tools CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants