chao an
4d79a5cbaf
add initial cmake build system
...
Co-authored-by: Daniel Agar <daniel@agar.ca>
Signed-off-by: chao an <anchao@xiaomi.com>
2023-07-08 13:52:02 +08:00
simbit18
b810ac0b7e
system: Fix nxstyle errors
...
error: Long line found
2023-05-10 15:40:06 +02:00
Xiang Xiao
7c37421266
Replace all sprintf with snprintf
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-08 21:35:16 +03:00
yinshengkai
19ba886ec2
trace: remove SCHED_INSTRUMENTATION_HIRES
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-02-23 22:33:14 +08:00
Xiang Xiao
4e6041a46c
system: Change DRIVER_NOTExxx to DRIVERS_NOTExxx
...
follow the kernel side change: https://github.com/apache/nuttx/pull/8531
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-20 14:30:57 +08:00
Xiang Xiao
a29d9ea9da
fsutils/examples: Include unistd.h explicitly
...
to get the prototypes or macros are defined in it
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-05 08:46:59 +02:00
yinshengkai
595adbcca6
drivers/note: rename /dev/note to /dev/note/ram
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-12-15 12:15:53 +08:00
chao.an
8ce86fe572
system/sched_note: fix build break
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-05-12 14:55:34 +08:00
chao.an
8c1a4994cc
system/note: correct unflatten format
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-08 01:38:13 +08:00
chao.an
90484a33e9
sched/trace: correct the note print format
...
note print should with Instruction pointer.
e.g:
trace_printk("hello NuttX");
trace dump:
hello-6 [000] .... 23080.367994: 0xc044a005: hello NuttX
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-03 18:04:28 +08:00
chao.an
0dc716d426
sched/note: unify the data format
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-03 18:04:28 +08:00
zhanghu6
0c79d57f12
note main: system/sched_note add output of string and binary
...
ifdef CONFIG_SCHED_INSTRUMENTATION_DUMP
case NOTE_DUMP_STRING:
case NOTE_DUMP_BINARY:
endif
2022-01-04 20:53:08 +08:00
zhanghu6
a2c8fa182a
trace dump: build error because add CONFIG_SCHED_INSTRUMENTATION_SWITCH in note driver
...
https://github.com/apache/incubator-nuttx/pull/4998
note dump: add CONFIG_SCHED_INSTRUMENTATION_SWITCH #4998
2021-12-14 11:16:54 -06:00
Abdelatif Guettouche
b345298232
system/sched_note/note_main.c: Fix the path of file in the header.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-12 08:29:03 -06:00
Abdelatif Guettouche
610d3878af
system/sched_note/note_main.c: Some cosmetic changes to comments.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-12 08:29:03 -06:00
Abdelatif Guettouche
e2975b5947
system/sched_note/note_main.c: Drop the ERROR string from the syslog
...
error messages as it's already prepended.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-12 08:29:03 -06:00
Abdelatif Guettouche
49866a8fe4
system/sched_note/note_main.c: Change the priority of errors printed
...
through syslog.
Errors should have LOG_ERR instead of LOG_INFO.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-12 08:29:03 -06:00
Abdelatif Guettouche
31ad83e018
system/sched_note/Makefile: Fix program name.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-12 08:29:03 -06:00
Alin Jerpelea
01532a45d6
system: fix relative path CI error
...
error: Path relative to repository other than nuttx must begin with the root directory
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
ec339bc49a
Makefiles: Gregory Nutt: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-07 21:35:33 -05:00
Nakamura, Yuuichi
954c90b4b5
Add SCHED_INSTRUMENTATION_HIRES support
2020-10-21 02:10:51 +08:00
Xiang Xiao
58aa886bad
system/sched_note: Change DRIVER_NOTE to DRIVER_NOTERAM
...
follow up the kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-20 17:54:45 +01:00
Nakamura, Yuuichi
ef2758c0c5
Add note_syscall args support
2020-10-21 00:42:53 +08:00
Nakamura, Yuuichi
007033f295
Fix note_syscall_leave_s to avoid unaligned access
2020-10-17 23:53:30 +08:00
Xiang Xiao
deaa6c5b7b
build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
...
and move NUTTXLIB defintion to the common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03:00
Gregory Nutt
4f044a4342
system/sched_note/note_main.c: Add interrupt/syscall call decode.
2020-06-16 20:43:18 +01:00
Xiang Xiao
69f013e74e
build: Remve the unnecessary .gitignore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 15:56:35 +01:00
Xiang Xiao
ead498a788
build: Remove the workaround for the inexistence of .config/Make.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
YAMAMOTO Takashi
e7156be066
Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE
...
This commit changes only ones with the default 2048 and
leaves the others.
E.g. this leaves SYSTEM_RAMTEST_STACKSIZE, whose default is 1024.
I guess those need to be inspected one-by-one.
2020-03-27 02:43:11 -05:00
Xiang Xiao
1511403fdf
Revert "Don't generate .depend anymore"
...
This reverts commit cc5ad09caa
.
2020-03-22 23:09:40 -05:00
Xiang Xiao
cc5ad09caa
Don't generate .depend anymore
2020-03-22 18:15:21 +00:00
Xiang Xiao
e0dcfa0c55
Remove extra whitespace from files ( #43 )
...
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
Xiang Xiao
857158451b
Unify the void cast usage
...
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro
Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08:00
Xiang Xiao
7808eb62d2
apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path.
2019-10-17 11:33:59 -06:00
Gregory Nutt
3a23523147
Makefiles: This reverts part of commit cf0365ea9
. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.
2019-10-15 09:25:48 +08:00
Xiang Xiao
e806097c70
Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard.
2019-10-06 06:14:56 -06:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Nathan Hartman
3a75edca20
Fix minor typo/copy-paste: 'will be use when'->'will be used when'
2019-08-23 11:59:28 -06:00
Gregory Nutt
8f5944c4a8
Squashed commit of the following:
...
include/ and netutils/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
nshlib/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
system/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
testing/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
examples/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
2019-04-29 14:53:38 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
anchao
220653f21c
Squashed commit of the following:
...
Author: anchao <anchao@pinecone.net>
apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
Loadable apps/: Correct loadable symbol table generate
apps/system/ubloxmodem: Fix build break
apps/examples/ostest: start restart/waitpid/user test from main loop
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
Author: Gregory Nutt <gnutt@nuttx.org>
An attempt to fix build issues. Does not work.
apps/examples/ostest: Fix some inappropriate renaming of static functions introduced with recent patches.
apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing.
Author: anchao <anchao@pinecone.net>
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77
Revert "Squashed commit of the following:"
...
This reverts commit 25b92edd9f
.
2018-08-22 12:06:32 -06:00
anchao
25b92edd9f
Squashed commit of the following:
...
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Gregory Nutt
f473842f96
Fix some calls to task_create(): argv[0] is the first parameter, not the name of the task.
2017-05-09 10:59:24 -06:00
Gregory Nutt
bfec325ade
Add support for new scheduler instrumentation.
2016-12-07 09:08:55 -06:00
Gregory Nutt
7288a8d7c0
apps/system/sched_lock: Add support for spinlock notes
2016-12-01 12:39:51 -06:00
Gregory Nutt
8228ab13fc
apps/system/sched_note: Extend to include additions to instumentation for SMP.
2016-11-27 17:13:26 -06:00
Sebastien Lorquet
bfff5e7179
Add empty preconfig rules to 'leaf' makefiles
2016-06-02 16:24:30 +02:00
Sebastien Lorquet
9a406515d7
make the full tree use wildcards make.defs
2016-06-02 16:21:21 +02:00
Gregory Nutt
62fec5d57d
apps/system/sched_note: Move the schduler note monitor from example/ to system/
2016-05-18 19:22:47 -06:00