huojianchaoyy opened a new pull request, #21600:
URL: https://github.com/apache/nuttx/pull/21600

   Summary
   Add tag.h and lib_tag.c as the unified tag definition for kernel and 
user-space tracing subsystems. All kernel tags are auto-numbered via enum with 
NXTAG\_ prefix. User-extension tags start from NXTAG\_USER\_BASE(64) with 
NXTAG\_MAX(128). Bitmask helpers and nxtag\_get\_name API are provided for 
runtime tag management. User-space frameworks can define g\_user\_names to 
register custom tag names visible through nxtag\_get\_name.
   
   Impact
   New files only; no existing behaviour changed. Provides the foundation for 
the unified note/trace tag system used by subsequent PRs.
   
   Testing
   Host: Ubuntu 22.04, gcc 13.
   
   ```./tools/configure.sh sim:ostest
   make -j
   ```
   
   Build passes with CONFIG\_SCHED\_INSTRUMENTATION enabled. checkpatch clean.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to