Commit Graph

63 Commits

Author SHA1 Message Date
Gregory Nutt
a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
Gregory Nutt
fc3540cffe Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
Gregory Nutt
ecba6ad0db fs_procfsproc.c edited online with Bitbucket. Fix problem introduced in last patch 2016-04-28 08:04:38 +00:00
David Sidrane
6a6a089af4 Fix a warning 2016-04-27 00:19:00 -06:00
Gregory Nutt
9008308b64 Remove some block comments before empty code sections 2016-04-11 18:16:04 -06:00
Gregory Nutt
ccbf514233 Add task state to information recorded when a task is suspended 2016-03-21 15:24:15 -06:00
Gregory Nutt
0fb035f76b Standardize some naming in code section comments 2016-02-21 18:09:04 -06:00
Gregory Nutt
050b3ee06a profcs task status will now show CPU is SMP is enabled 2016-02-19 15:34:36 -06:00
Gregory Nutt
884d9355c6 nuttx/fs: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 08:43:47 -06:00
Gregory Nutt
12f95c6f6b Add procfs/kmm to show the state of the kernel heap 2016-02-06 11:35:30 -06:00
Gregory Nutt
de995653fe Fix a typo from the last big set of changes 2016-01-21 12:26:53 -06:00
Gregory Nutt
f348e68069 Update to use 64-bit timer when available 2016-01-21 11:54:26 -06:00
Gregory Nutt
795ddd7e80 OS modules: Add basic procfs support. A module registry that will eventually be used to support lsmod 2015-12-12 17:42:25 -06:00
Gregory Nutt
acd3b47def Fix problem in last change to the procfs: Forgot to save the reallocated table pointer!
Also added warnings:  There are some concurrency issues in the current implementation if you try to modify the procfs data structures will the procfs is mounted and possibly busy.
2015-12-02 05:20:02 -06:00
Gregory Nutt
db6eeed3a6 procfs: Using wrong reallocator 2015-12-01 17:06:40 -06:00
Gregory Nutt
7483ed38ce Fix some procfs registration typos 2015-12-01 16:31:40 -06:00
Gregory Nutt
ad64c033e7 s/procfs: The procfs file system can now be configured so that it supports a runtime registration of procfs entries with CONFIG_FS_PROCFS_REGISTER=y 2015-12-01 14:56:20 -06:00
Gregory Nutt
1c8216a6ce Add group ID or parent PID to procfs output (if available) 2015-11-30 06:58:06 -06:00
Gregory Nutt
2e7d139cd3 fs/procfs: Process status now includes task flags. Some strings modified to improved 'ps' command output 2015-11-28 14:58:56 -06:00
Gregory Nutt
1f8f097783 procfs: Use dirent.h macros when testing directory entry type 2015-11-28 08:52:21 -06:00
Gregory Nutt
eb8668b0f7 net/: Add procfs support for network device status 2015-11-27 16:39:14 -06:00
Gregory Nutt
e4236941c6 net/net_procfs.c: Add basic support for networking procfs entries 2015-11-27 12:33:58 -06:00
Gregory Nutt
c70987e551 nuttx/fs: Fix some spacing and alignment issues 2015-10-11 11:39:29 -06:00
Gregory Nutt
cb9e27c3b0 Standardize naming used for public data and function groupings 2015-10-02 16:30:35 -06:00
Gregory Nutt
146bdc3c93 TCB: Increase the size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies 2015-07-23 10:15:07 -06:00
Gregory Nutt
342f5fe33d Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:08:57 -06:00
Gregory Nutt
4adda9d428 Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis 2015-05-23 17:08:35 -06:00
Gregory Nutt
8055ba4d03 Pass the umount2() flags to every unbind() implementation. That is where the the decision to umount or not will be made. 2015-03-14 17:22:02 -06:00
Gregory Nutt
6792cb3e34 procfs: fs_procfsproc: Fix potential NULL pointer dereference of 'node'. From Juha Niskanen 2015-03-12 07:42:39 -06:00
Gregory Nutt
404fef74d9 Fix two uses of DEBUG_COLORATION vs STACK_COLORATION (from David Sidrane). Also some corrected comments 2015-03-05 06:41:14 -06:00
Gregory Nutt
e7470e0834 Update dates in all skeleton files 2015-02-13 06:13:34 -06:00
Gregory Nutt
7e46e94546 Remove CONFIG_DEBUG_STACK. Adding CONFIG_STACK_COLORATION makes this configuration option pointless 2015-01-24 06:49:51 -06:00
Gregory Nutt
cb051a522d Add procfs write support. From Ken Petit 2014-12-09 13:24:38 -06:00
Gregory Nutt
650a0d0615 Completes VFS-based named semaphore implemetation. Still a little buggy 2014-09-28 15:58:56 -06:00
Gregory Nutt
b05d20a6e7 procfs: Fix some breakage introduced by reorganizing some un-reorganizable data structures. From Ken Pettit 2014-09-22 11:07:08 -06:00
Gregory Nutt
205260d5e2 Reanem kzalloc to kmm_zalloc for consistency 2014-08-31 17:34:44 -06:00
Gregory Nutt
1780810d3d Rename kmalloc to kmm_malloc for consistency 2014-08-31 17:26:36 -06:00
Gregory Nutt
54fa3b0b59 Rename kfree to kmm_free for consistency with other naming conventions 2014-08-31 17:04:02 -06:00
Gregory Nutt
cc0fb1ec67 CCM PROCFS: Missing change in last commits 2014-07-03 09:28:36 -06:00
Gregory Nutt
dd4caf172f CCM PROCFS: Changed the configuration a bit. I am still not happy about the coupling between procfs, mtd, and now STM32 2014-07-03 08:50:24 -06:00
Gregory Nutt
64cd7a81ed Add STM32 CCM heep procfs 2014-07-03 08:18:24 -06:00
Gregory Nutt
a2741940f9 SAMA54D-EK: Don't disable any features in the NSH configuration. Comments updated in several files 2014-07-02 08:54:53 -06:00
Gregory Nutt
5df14c7d40 Misc changes to get a clean compilation after incorporating all of Bob Doison's changes 2014-04-22 10:38:08 -06:00
Gregory Nutt
3d8e313995 Misc SAM4S-related changes from Bob Doison 2014-04-21 19:32:15 -06:00
Gregory Nutt
1f31597466 Correct some procfs conditional compilation. From Bob Doiron 2014-04-21 17:21:43 -06:00
Gregory Nutt
f8024cf409 More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
b348464779 procfs: Remove newline from the end of the cpuload and loadavg outputs so that the returned percentages can be printed on the same line as other data. 2014-02-27 11:18:28 -06:00
Gregory Nutt
3b2a3991dd A few fixes for the per-process load average calculation 2014-02-23 12:50:51 -06:00
Gregory Nutt
cf4a362ab5 CPU load calculations now available for all threads. Available in /proc/pid/loadavg 2014-02-23 10:55:01 -06:00
Gregory Nutt
59769d44f1 Add logic to meaure and calculate the CPU load percentage. From David Alessio 2014-02-22 15:20:12 -06:00