nuttx/sched
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
..
addrenv include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
clock include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
environ libc/environ: add interrupt context check to getenv 2026-01-21 10:37:55 +08:00
event sched/event: Fix uninitialized need_switch flag issue in event_post() 2025-11-04 21:43:59 +08:00
group fs/inode: add optional manual FD backtrace control via task group flag 2026-04-28 09:53:27 +02:00
hrtimer sched/hrtimer: Simplify the hrtimer. 2026-02-02 13:26:22 +08:00
init include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
instrument gprof: move gprof function from sched to libbuiltin/libgcc 2024-11-13 02:42:31 +08:00
irq include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
misc sched/misc: Optimize thread saving order in coredump for easier gdb debug 2026-04-14 19:33:14 +08:00
module include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mqueue include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
paging include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
pthread include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sched include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
semaphore include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
signal include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
task include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
timer sched/timer: Fix MISRA Rule 10.3 2026-01-22 22:14:00 +08:00
tls pthread: remove tl_lock 2026-01-26 20:56:12 +08:00
wdog include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
wqueue include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig sched/docs: Align ETC ROMFS text with tmpfs-first /tmp mount. 2026-04-23 10:26:21 -03:00
Makefile Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00