Documentation: Document taskset command.#18965
Conversation
Fill the taskset application reference page with source-backed usage, configuration, forms, examples, and notes. The documented command forms and mask constraints come from apps/system/taskset/taskset.c and the enabling configuration comes from apps/system/taskset/Kconfig. Signed-off-by: hanzj <han.zhijiang@zte.com.cn>
|
BTW, I don't think your using the right process to build docs locally. You should follow: https://nuttx.apache.org/docs/latest/contributing/documentation.html#building |
|
Thanks for pointing that out. I re-ran the documentation validation using the documented build entrypoint ( One local WSL note: |
No worries, the CI passed fine. Just letting you know in case it would cause issues for you at some point.
Good to know, maybe worth adding that to the docs :) |
Summary
Documentation/applications/system/taskset/index.rstcommand reference page.taskset <mask> <command> [args ...],taskset -p [mask] <pid>, andtaskset -h.CONFIG_SYSTEM_TASKSETenable option, itsCONFIG_SMP && CONFIG_SYSTEM_SYSTEMdependency, and the related program name / priority / stack-size options..rstfile.Impact
tasksetcommand page is filled.apps/system/taskset/taskset.candapps/system/taskset/Kconfigfromnuttx-appsupstream master.Testing
I confirm that changes are verified on local setup and work as intended:
Linux DESKTOP-6B1686O 6.6.114.1-microsoft-standard-WSL2), Python 3.8.10, Sphinx 7.1.2, PlantUML available onPATH.git -C /home/hanzj/workspace/nuttxspace/apps show upstream/master:system/taskset/taskset.cgit -C /home/hanzj/workspace/nuttxspace/apps show upstream/master:system/taskset/KconfigTesting logs before change:
Testing logs after change:
PR verification Self-Check