nuttx/sched/group
zhanxiaoqi 786b315947 fs/inode: add optional manual FD backtrace control via task group flag
When CONFIG_FS_BACKTRACE is enabled, collecting a stack trace for every
new file descriptor adds overhead to fast path operations like open(),
dup(), and socket().

This patch adds a new configuration option CONFIG_FS_BACKTRACE_DEFAULT.
When enabled (default behavior), the GROUP_FLAG_FD_BACKTRACE flag is
automatically set during group allocation, causing backtrace to be
captured for all tasks globally, preserving the original diagnostic
capability.

When disabled, backtrace capture is zero-cost by default and must be
explicitly enabled per task group using GROUP_FLAG_FD_BACKTRACE.

Signed-off-by: zhanxiaoqi <zhanxiaoqi@bytedance.com>
2026-04-28 09:53:27 +02:00
..
CMakeLists.txt binfmt: refactor loadable module cleanup mechanism 2026-01-18 08:30:15 -03:00
group.h sched:use tcb inside of pthread_tcb_s, remove all cast 2025-12-22 17:55:45 +08:00
group_childstatus.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_continue.c sched: After nxsched_add_readytorun, change first parameter to up_switch_context to this_task() 2025-08-20 10:16:43 +08:00
group_create.c fs/inode: add optional manual FD backtrace control via task group flag 2026-04-28 09:53:27 +02:00
group_foreachchild.c sched/group_foreachchild.c: fix warning 2026-03-24 10:56:23 -03:00
group_free.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_getegid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_geteuid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_getgid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_getuid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_join.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_killchildren.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_leave.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_malloc.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_realloc.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_setegid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_seteuid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_setgid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_setuid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_setupidlefiles.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_setuptaskfiles.c sched:use tcb_s inside of task_tcb_s , remove all cast 2025-12-22 17:55:45 +08:00
group_signal.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
group_suspendchildren.c sched/group: There is no need to use sched_[un]lock 2024-10-09 13:46:33 +08:00
group_waiter.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group_zalloc.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Make.defs binfmt: refactor loadable module cleanup mechanism 2026-01-18 08:30:15 -03:00