Skip to content

Conversation

@W-M-R
Copy link
Contributor

@W-M-R W-M-R commented Nov 7, 2024

Summary

gprof: Move gprof to libbuitin/libgcc
gprof: Add necessary dependencies
when enable: CONFIG_SCHED_GPROF_ALL:
arm-none-eabi-g++: error: -pg and -fomit-frame-pointer are incompatible

Impact

None

Testing

1. Enable the command to start the timer with "CONFIG_BUILTIN_GPROF"
2. Enable "CONFIG_BUILTIN_GPROF_ALL" to start the compiler global instrumentation "- pg"

@github-actions github-actions bot added Area: OS Components OS Components issues Size: XS The size of the change in this PR is very small labels Nov 7, 2024
@lupyuen
Copy link
Member

lupyuen commented Nov 7, 2024

Sorry I have to cancel the CI Check, there's a problem with CI Test:

@W-M-R W-M-R changed the title gprof: Add necessary dependencies gprof: Move gprof to libc Nov 7, 2024
@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Arch: arm64 Issues related to ARM64 (64-bit) architecture Arch: simulator Issues related to the SIMulator Board: simulator Size: M The size of the change in this PR is medium and removed Size: XS The size of the change in this PR is very small labels Nov 7, 2024
@lupyuen
Copy link
Member

lupyuen commented Nov 7, 2024

Sorry cancelling again the CI Check, we're fixing the CI Test now:

@W-M-R W-M-R closed this Nov 11, 2024
@W-M-R W-M-R deleted the gprof-opt branch November 11, 2024 03:46
@W-M-R W-M-R restored the gprof-opt branch November 11, 2024 12:27
@W-M-R W-M-R reopened this Nov 11, 2024
@W-M-R W-M-R changed the title gprof: Move gprof to libc gprof: Move gprof to libbuitin/libgcc Nov 11, 2024
1. Enable the command to start the timer with "CONFIG_BUILTIN_GPROF"
2. Enable "CONFIG_BUILTIN_GPROF_ALL" to start the compiler global instrumentation "- pg"

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
arm-none-eabi-g++: error: -pg and -fomit-frame-pointer are incompatible

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
@W-M-R W-M-R closed this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Arch: arm64 Issues related to ARM64 (64-bit) architecture Arch: simulator Issues related to the SIMulator Area: OS Components OS Components issues Board: simulator Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants