Jiuzhu Dong
c5ba9261bc
procfs: add memdump interface to dump used/free memory info
...
usage:echo <used/free> > /proc/memdump
echo used > /proc/memdump // output all used memory node info(address + size)
echo free > /proc/memdump // output all free memory node info(address + size)
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-02-26 14:32:42 +08:00
zhuyanlin
e53aeea60e
fs:procfs: add tcbinfo procfs interface
...
Add tcbinfo in procfs system.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-11-10 14:31:10 -03:00
Jiuzhu Dong
9b1f554429
sched: Dynamically extend the pid hash table
...
Change-Id: I3a719bc575cd408cd530a39efa203f507b44fa9c
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-07-11 19:42:30 -07:00
Gregory Nutt
2b532ae4a8
fs/: Remove support for CONFIG_FS_READABLE
2020-03-22 08:24:07 -05:00
Xiang Xiao
1d60bc20a9
fs/procfs/Kconfig: Change the default value of FS_PROCFS_EXCLUDE_VERSION to n like other similar option.
2019-12-12 11:12:37 -06:00
Gregory Nutt
7871e983b8
net/tcp/tcp_send.c: Commit a52ceac13e
broke IPv4 sending. In cp_send.c:tcp_ipv4_sendcomplete(), ‘ipv4->vhl’ now needs to be configured before call to tcp_ipv4_chksum(). Noted by Jussi Kivilinna in comit comments.
2019-09-06 09:48:42 -06:00
Anthony Merlino
70404ed0dc
Merged in antmerlino/nuttx/iobinstrumentation (pull request #1001 )
...
Iobinstrumentation
* mm/iob: Introduces producer/consumer id to every iob call. This is so that the calls can be instrumented to monitor the IOB resources.
* iob instrumentation - Merges producer/consumer enumeration for simpler IOB user.
* fs/procfs: Starts adding support for /proc/iobinfo
* fs/procfs: Finishes first pass of simple IOB user stastics and /proc/iobinfo entry
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-16 22:42:25 +00:00
zhangyuan7
a7d9d4bc1e
drivers/serial/uart_16550.c: Fox UART flow control issue. UART_MCR_RTS need be high even UART_MCR_AFCE is enabled
2018-11-08 10:21:16 -06:00
iuhaitao
82e0b0328b
fs/procfs: Add /proc/version support to get version info
2018-11-08 10:13:45 -06:00
Xiang Xiao
247414c6ad
drivers/mtd and other MTD drivers: Remove mtd_procfsoperations since we can now get the same information from inode
2018-11-08 09:46:11 -06:00
Gregory Nutt
0334b4dcc1
fs/procfs: Add a configuration option to disable environment variable info.
2018-08-19 06:36:23 -06:00
Gregory Nutt
a6aa4ac5f5
fs/procfs: Optimization of previous commits. /proc/umm and proc/progmem are deleted. /proc/kmm is renamed /proc/meminfo and contains the output that was in all three files previously.
2017-11-13 13:33:12 -06:00
Gregory Nutt
070d40260b
profcs: At file to should user space heap. This replaces the NSH free command.
2017-11-13 12:51:33 -06:00
Gregory Nutt
f3b37e5da3
fs/procfs/fs_procfsprogrem: Add /proc/progmem. This is an alternative way to get the information that was previoulsy available in apps/system/free. apps/system/free was removed beause it made illegal calls into the OS violating the portable interface. This new procfs entry provides the same information with no such violation.
2017-11-13 09:08:39 -06:00
Gregory Nutt
382979b7cb
Update comments in a Kconfig file.
2017-10-27 18:30:18 -06:00
Gregory Nutt
1ed816de4b
Squashed commit of the following:
...
fs/mount: Implements procfs /proc/fs/blocks and /proc/fs/usage files, replacing the NSH df command.
fs/mount: Implements procfs /proc/fs/mount file, replacing the NSH mount command when there are not arguments.
fs/: Move prototype of foreach_mountpoint out of include/nuttx/fs/fs.h to fs/mount/mount.h. Add framework for the mount procfs (initial commit is just a close of the net/route table procfs.
2017-10-26 13:33:08 -06:00
Gregory Nutt
d209e0e238
Add file missed in last commit. Fix naming in some configuration items.
2017-08-12 07:26:20 -06:00
Gregory Nutt
65698da12d
procfs: Add support for routing tables.
2017-08-11 15:33:58 -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
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
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
e4236941c6
net/net_procfs.c: Add basic support for networking procfs entries
2015-11-27 12:33:58 -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
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
59769d44f1
Add logic to meaure and calculate the CPU load percentage. From David Alessio
2014-02-22 15:20:12 -06:00
Gregory Nutt
46b77e2544
Support /proc/uptime
2013-12-14 10:34:08 -06:00
Gregory Nutt
e4471dc8e0
procfs/: Extenstive architectural changes and enhancements by Ken Pettit
2013-12-12 09:21:55 -06:00
Gregory Nutt
f1671bb6a7
Alloc CONFIG_FS_READABLE/WRITABLE to be defined in Kconfig files while preserving backward compatibility with legacy configurations (for the time being)
2013-11-15 09:49:27 -06:00
Gregory Nutt
6e7c9b93c6
fs/procfs: Add a tiny, primitive procfs file system. Might get more interesting in the future
2013-11-13 15:59:14 -06:00