This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from f774afb4d9 esp32[s3|s2]: Add temperature sensor thread support
new 4944bfd56c sched: Implement profil function
new eb8449cb0c sched/gprof: add gprof support
new 1b42a7bf84 sched: gprof SMP support
new d375a09c0a libs: add gprof arm64 support
new b8670e905a docs: add gprof usage documentation
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Documentation/applications/system/gprof/index.rst | 81 +++
arch/arm/src/cmake/gcc.cmake | 4 +
arch/arm/src/common/Toolchain.defs | 4 +
arch/arm64/src/Toolchain.defs | 4 +
arch/arm64/src/cmake/Toolchain.cmake | 4 +
arch/sim/Kconfig | 7 +
arch/sim/src/Makefile | 7 +-
boards/sim/sim/sim/scripts/Make.defs | 4 +
.../lib_obstack_malloc.h => include/sys/gmon.h | 33 +-
include/unistd.h | 3 +
libs/libc/machine/arm/CMakeLists.txt | 4 +
libs/libc/machine/arm/Make.defs | 4 +
.../libc/machine/arm/gnu/mcount.S | 37 +-
.../lib_rewinddir.c => machine/arm64/gnu/mcount.c} | 38 +-
sched/Kconfig | 28 +
sched/instrument/CMakeLists.txt | 4 +
sched/instrument/Make.defs | 4 +
sched/instrument/profile_monitor.c | 584 +++++++++++++++++++++
sched/sched/CMakeLists.txt | 1 +
sched/sched/Make.defs | 2 +-
sched/sched/sched_profil.c | 160 ++++++
21 files changed, 962 insertions(+), 55 deletions(-)
create mode 100644 Documentation/applications/system/gprof/index.rst
copy libs/libc/obstack/lib_obstack_malloc.h => include/sys/gmon.h (76%)
copy arch/arm/src/at32/at32_uid.c => libs/libc/machine/arm/gnu/mcount.S (66%)
copy libs/libc/{dirent/lib_rewinddir.c => machine/arm64/gnu/mcount.c} (76%)
create mode 100644 sched/instrument/profile_monitor.c
create mode 100644 sched/sched/sched_profil.c