|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0 |
|
| #
1611738d |
| 22-Sep-2024 |
Konstantin Belousov <[email protected]> |
libprocstat: add procstat_getrlimitusage()
(cherry picked from commit 6126f4ea646a3c19647c3efdcf672641cff6954b)
|
|
Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
42b38843 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line .h pattern
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
| #
039d1496 |
| 03-Apr-2022 |
Konstantin Belousov <[email protected]> |
libprocstat: add procstat_getadvlock(3)
For now, only for sysctl target. This is not a new situation, for instance kstacks also work for sysctl only.
Reviewed by: markj, rmacklem Sponsored by: The
libprocstat: add procstat_getadvlock(3)
For now, only for sysctl target. This is not a new situation, for instance kstacks also work for sysctl only.
Reviewed by: markj, rmacklem Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D34756
show more ...
|
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
e5ac3049 |
| 27-Jan-2019 |
Konstantin Belousov <[email protected]> |
Bump SPECNAMELEN to MAXNAMLEN.
This includes the bump for cdevsw d_version. Otherwise, the impact on the ABI (not KBI) is surprisingly low. The most important affected interface is devname(3) and
Bump SPECNAMELEN to MAXNAMLEN.
This includes the bump for cdevsw d_version. Otherwise, the impact on the ABI (not KBI) is surprisingly low. The most important affected interface is devname(3) and ttyname(3) which already correctly handle long names (and ttyname(3) should not be affected at all).
Still, due to the d_version bump, I argue that the change is not MFC-able.
Requested by: mmacy Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D18932
show more ...
|
|
Revision tags: release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0 |
|
| #
95b97895 |
| 26-May-2017 |
Conrad Meyer <[email protected]> |
procstat(1): Add TCP socket send/recv buffer size
Add TCP socket send and receive buffer size to procstat -f output.
Reviewed by: kib, markj Sponsored by: Dell EMC Isilon Differential Revision: htt
procstat(1): Add TCP socket send/recv buffer size
Add TCP socket send and receive buffer size to procstat -f output.
Reviewed by: kib, markj Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D10689
show more ...
|
| #
69921123 |
| 23-May-2017 |
Konstantin Belousov <[email protected]> |
Commit the 64-bit inode project.
Extend the ino_t, dev_t, nlink_t types to 64-bit ints. Modify struct dirent layout to add d_off, increase the size of d_fileno to 64-bits, increase the size of d_na
Commit the 64-bit inode project.
Extend the ino_t, dev_t, nlink_t types to 64-bit ints. Modify struct dirent layout to add d_off, increase the size of d_fileno to 64-bits, increase the size of d_namlen to 16-bits, and change the required alignment. Increase struct statfs f_mntfromname[] and f_mntonname[] array length MNAMELEN to 1024.
ABI breakage is mitigated by providing compatibility using versioned symbols, ingenious use of the existing padding in structures, and by employing other tricks. Unfortunately, not everything can be fixed, especially outside the base system. For instance, third-party APIs which pass struct stat around are broken in backward and forward incompatible ways.
Kinfo sysctl MIBs ABI is changed in backward-compatible way, but there is no general mechanism to handle other sysctl MIBS which return structures where the layout has changed. It was considered that the breakage is either in the management interfaces, where we usually allow ABI slip, or is not important.
Struct xvnode changed layout, no compat shims are provided.
For struct xtty, dev_t tty device member was reduced to uint32_t. It was decided that keeping ABI compat in this case is more useful than reporting 64-bit dev_t, for the sake of pstat.
Update note: strictly follow the instructions in UPDATING. Build and install the new kernel with COMPAT_FREEBSD11 option enabled, then reboot, and only then install new world.
Credits: The 64-bit inode project, also known as ino64, started life many years ago as a project by Gleb Kurtsou (gleb). Kirk McKusick (mckusick) then picked up and updated the patch, and acted as a flag-waver. Feedback, suggestions, and discussions were carried by Ed Maste (emaste), John Baldwin (jhb), Jilles Tjoelker (jilles), and Rick Macklem (rmacklem). Kris Moore (kris) performed an initial ports investigation followed by an exp-run by Antoine Brodin (antoine). Essential and all-embracing testing was done by Peter Holm (pho). The heavy lifting of coordinating all these efforts and bringing the project to completion were done by Konstantin Belousov (kib).
Sponsored by: The FreeBSD Foundation (emaste, kib) Differential revision: https://reviews.freebsd.org/D10439
show more ...
|
| #
86be94fc |
| 30-Mar-2017 |
Tycho Nightingale <[email protected]> |
Add support for capturing 'struct ptrace_lwpinfo' for signals resulting in a process dumping core in the corefile.
Also extend procstat to view select members of 'struct ptrace_lwpinfo' from the con
Add support for capturing 'struct ptrace_lwpinfo' for signals resulting in a process dumping core in the corefile.
Also extend procstat to view select members of 'struct ptrace_lwpinfo' from the contents of the note.
Sponsored by: Dell EMC Isilon
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0 |
|
| #
958aa575 |
| 03-May-2013 |
John Baldwin <[email protected]> |
Similar to 233760 and 236717, export some more useful info about the kernel-based POSIX semaphore descriptors to userland via procstat(1) and fstat(1): - Change sem file descriptors to track the path
Similar to 233760 and 236717, export some more useful info about the kernel-based POSIX semaphore descriptors to userland via procstat(1) and fstat(1): - Change sem file descriptors to track the pathname they are associated with and add a ksem_info() method to copy the path out to a caller-supplied buffer. - Use the fo_stat() method of shared memory objects and ksem_info() to export the path, mode, and value of a semaphore via struct kinfo_file. - Add a struct semstat to the libprocstat(3) interface along with a procstat_get_sem_info() to export the mode and value of a semaphore. - Teach fstat about semaphores and to display their path, mode, and value.
MFC after: 2 weeks
show more ...
|
| #
89358231 |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Add procstat_getkstack function to dump kernel stacks of a process.
MFC after: 1 month
|
| #
2ff020d3 |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Add procstat_getauxv function to retrieve a process auxiliary vector.
MFC after: 1 month
|
| #
4482b5e3 |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Extend libprocstat with functions to retrieve process command line arguments and environment variables.
Suggested by: stas Reviewed by: jhb and stas (initial version) MFC after: 1 month
|
| #
eec6cb1c |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Add procstat_getosrel function to retrieve a process osrel info.
MFC after: 1 month
|
| #
4cdf9796 |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Add procstat_getpathname function to retrieve a process executable.
MFC after: 1 month
|
| #
7cc0ebfd |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Add procstat_getrlimit function to retrieve a process resource limits info.
MFC after: 1 month
|
| #
5b9bcba9 |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Add procstat_getumask function to retrieve a process umask.
MFC after: 1 month
|
| #
7f1d14e6 |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Add procstat_getgroups function to retrieve process groups.
MFC after: 1 month
|
| #
39680c7b |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Add procstat_getvmmap function to get VM layout of a process.
MFC after: 1 month
|
| #
7153ad2b |
| 20-Apr-2013 |
Mikolaj Golub <[email protected]> |
Make libprocstat(3) extract procstat notes from a process core file.
PR: kern/173723 Suggested by: jhb Glanced by: kib MFC after: 1 month
|
|
Revision tags: release/9.1.0, release/8.3.0_cvs, release/8.3.0 |
|
| #
e506e182 |
| 01-Apr-2012 |
John Baldwin <[email protected]> |
Export some more useful info about shared memory objects to userland via procstat(1) and fstat(1): - Change shm file descriptors to track the pathname they are associated with and add a shm_path()
Export some more useful info about shared memory objects to userland via procstat(1) and fstat(1): - Change shm file descriptors to track the pathname they are associated with and add a shm_path() method to copy the path out to a caller-supplied buffer. - Use the fo_stat() method of shared memory objects and shm_path() to export the path, mode, and size of a shared memory object via struct kinfo_file. - Add a struct shmstat to the libprocstat(3) interface along with a procstat_get_shm_info() to export the mode and size of a shared memory object. - Change procstat to always print out the path for a given object if it is valid. - Teach fstat about shared memory objects and to display their path, mode, and size.
MFC after: 2 weeks
show more ...
|
|
Revision tags: release/9.0.0 |
|
| #
2f7e4c22 |
| 14-May-2011 |
Stanislav Sedov <[email protected]> |
- Add symbol versioning to libprocstat.
Suggested by: kib
|