|
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, release/13.4.0, release/14.1.0 |
|
| #
efb74e16 |
| 05-Mar-2024 |
Kyle Evans <[email protected]> |
libsysdecode: add a decoder for pollfd events
We'll use this in another change to read pollfd arrays coming from a successful poll(2) operation.
Reviewed by: bapt, jhb
(cherry picked from commit b
libsysdecode: add a decoder for pollfd events
We'll use this in another change to read pollfd arrays coming from a successful poll(2) operation.
Reviewed by: bapt, jhb
(cherry picked from commit bd23e71f91ceec5dfdffc28bbd0020849fdd20b4)
show more ...
|
|
Revision tags: release/13.3.0, release/14.0.0 |
|
| #
b3e76948 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
bd35e83b |
| 26-May-2023 |
Dmitry Chagin <[email protected]> |
libsysdecode: Decode linux_clone syscall flags
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40150 MFC after: 1 week
|
|
Revision tags: release/13.2.0, release/12.4.0 |
|
| #
fde775bc |
| 22-Jun-2022 |
Dmitry Chagin <[email protected]> |
libsysdecode: Decode Linux open() flags
MFC after: 2 weeks
|
| #
d2b3237e |
| 22-Jun-2022 |
Dmitry Chagin <[email protected]> |
libsysdecode: Decode Linux *at() flags
MFC after: 2 weeks
|
| #
39de84b6 |
| 22-Jun-2022 |
Dmitry Chagin <[email protected]> |
kdump: Decode Linux clock_nanosleep syscall
MFC after: 2 weeks
|
| #
f587a2a7 |
| 22-Jun-2022 |
Dmitry Chagin <[email protected]> |
kdump: Decode Linux sigprocmask how argument
MFC after: 2 weeks
|
| #
2fc3a51d |
| 22-Jun-2022 |
Dmitry Chagin <[email protected]> |
libsysdecode: Decode setitimer, getitimer which argument
Reviewed by: jhb Differential revision: https://reviews.freebsd.org/D35230 MFC after: 2 weeks
|
| #
f85848fc |
| 22-Jun-2022 |
Dmitry Chagin <[email protected]> |
libsysdecode: Add method for decoding Linux signal names
Reviewed by: jhb Differential revision: https://reviews.freebsd.org/D35215 MFC after: 2 weeks
|
| #
b69ae1a3 |
| 22-Jun-2022 |
Dmitry Chagin <[email protected]> |
libsysdecode: Add preliminary support for decoding Linux syscalls
Differential revision: https://reviews.freebsd.org/D35354 MFC after: 2 weeks
|
|
Revision tags: release/13.1.0 |
|
| #
354efc4c |
| 15-Apr-2022 |
Mark Johnston <[email protected]> |
libsysdecode: Include required headers in sysdecode.h
Make sysdecode.h self-contained rather than forcing all consumers to include dependencies. No functional change intended.
Reviewed by: pauamma
libsysdecode: Include required headers in sysdecode.h
Make sysdecode.h self-contained rather than forcing all consumers to include dependencies. No functional change intended.
Reviewed by: pauamma_gundo.com, jhb, emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34899
show more ...
|
| #
f3f3e3c4 |
| 03-Mar-2022 |
Mateusz Guzik <[email protected]> |
fd: add close_range(..., CLOSE_RANGE_CLOEXEC)
For compatibility with Linux.
MFC after: 3 days Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D34424
|
|
Revision tags: release/12.3.0 |
|
| #
cf0ee873 |
| 12-Sep-2021 |
Konstantin Belousov <[email protected]> |
Drop cloudabi
According to https://github.com/NuxiNL/cloudlibc: CloudABI is no longer being maintained. It was an awesome experiment, but it never got enough traction to be sustainable.
There is no
Drop cloudabi
According to https://github.com/NuxiNL/cloudlibc: CloudABI is no longer being maintained. It was an awesome experiment, but it never got enough traction to be sustainable.
There is no reason to keep it in FreeBSD.
Approved by: ed (private mail) Reviewed by: emaste Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D31923
show more ...
|
|
Revision tags: release/13.0.0 |
|
| #
3b27074b |
| 09-Dec-2020 |
Kyle Evans <[email protected]> |
libsysdecode: decode _UMTX_OP flags
Assume that UMTX_OP with a double underbar following is a flag, while any underbar+alphanumeric combination immeiately following is an op.
This was a part of D27
libsysdecode: decode _UMTX_OP flags
Assume that UMTX_OP with a double underbar following is a flag, while any underbar+alphanumeric combination immeiately following is an op.
This was a part of D27325.
Reviewed by: kib
show more ...
|
|
Revision tags: release/12.2.0, release/11.4.0 |
|
| #
c70019dd |
| 19-Feb-2020 |
Kyle Evans <[email protected]> |
libsysdecode: grab shmflags from sys/mman.h, add decode method
Any SHM_* flag here is (and likely will continue to be) a shmflag that may be passed to shm_open2(), with exception to SHM_ANON. This i
libsysdecode: grab shmflags from sys/mman.h, add decode method
Any SHM_* flag here is (and likely will continue to be) a shmflag that may be passed to shm_open2(), with exception to SHM_ANON. This is a prereq to adding appropriate support to truss/kdump.
Reviewed by: kaktus (slightly earlier version) Differential Revision: https://reviews.freebsd.org/D23733
show more ...
|
|
Revision tags: release/12.1.0, release/11.3.0 |
|
| #
2e43efd0 |
| 06-Mar-2019 |
John Baldwin <[email protected]> |
Drop "All rights reserved" from my copyright statements.
Reviewed by: rgrimes MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D19485
|
|
Revision tags: release/12.0.0, release/11.2.0 |
|
| #
0faae8b9 |
| 15-Jan-2018 |
Michael Tuexen <[email protected]> |
Add support for decoding the nxt_flags, rcv_flags, and snd_flags of SCTP level cmsgs.
|
| #
a826eb5a |
| 15-Jan-2018 |
Michael Tuexen <[email protected]> |
Add support for decoding the type of a cmsg.
|
| #
1e6455d8 |
| 14-Jan-2018 |
Michael Tuexen <[email protected]> |
Add a function is decode the sinfo_flags of struct sctp_sndrcvinfo.
|
| #
a62bf68d |
| 14-Jan-2018 |
Michael Tuexen <[email protected]> |
Add suppor for the supported PR-SCTP policies.
|
| #
87f69bee |
| 16-Dec-2017 |
Ed Schouten <[email protected]> |
libsysdecode: Add a new ABI type, SYSDECODE_ABI_CLOUDABI32.
In order to let truss(8) support tracing of 32-bit CloudABI applications, we need to add a new ABI type to libsysdecode. We can reuse the
libsysdecode: Add a new ABI type, SYSDECODE_ABI_CLOUDABI32.
In order to let truss(8) support tracing of 32-bit CloudABI applications, we need to add a new ABI type to libsysdecode. We can reuse the existing errno mapping table. Also link in the cloudabi32 system call table to translate system call names.
While there, remove all of the architecture ifdefs. There are not needed, as the CloudABI data types and system call tables build fine on any architecture. Building this unconditionally will make it easier to do tracing for different compat modes, emulation, etc.
Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D13516
show more ...
|
| #
ffb66079 |
| 25-Nov-2017 |
John Baldwin <[email protected]> |
Decode kevent structures logged via ktrace(2) in kdump.
- Add a new KTR_STRUCT_ARRAY ktrace record type which dumps an array of structures.
The structure name in the record payload is preceded
Decode kevent structures logged via ktrace(2) in kdump.
- Add a new KTR_STRUCT_ARRAY ktrace record type which dumps an array of structures.
The structure name in the record payload is preceded by a size_t containing the size of the individual structures. Use this to replace the previous code that dumped the kevent arrays dumped for kevent(). kdump is now able to decode the kevent structures rather than dumping their contents via a hexdump.
One change from before is that the 'changes' and 'events' arrays are not marked with separate 'read' and 'write' annotations in kdump output. Instead, the first array is the 'changes' array, and the second array (only present if kevent doesn't fail with an error) is the 'events' array. For kevent(), empty arrays are denoted by an entry with an array containing zero entries rather than no record.
- Move kevent decoding tables from truss to libsysdecode.
This adds three new functions to decode members of struct kevent: sysdecode_kevent_filter, sysdecode_kevent_flags, and sysdecode_kevent_fflags.
kdump uses these helper functions to pretty-print kevent fields.
- Move structure definitions for freebsd11 and freebsd32 kevent structures to <sys/event.h> so that they can be shared with userland. The 32-bit structures are only exposed if _WANT_KEVENT32 is defined. The freebsd11 structures are only exposed if _WANT_FREEBSD11_KEVENT is defined. The 32-bit freebsd11 structure requires both.
- Decode freebsd11 kevent structures in truss for the compat11.kevent() system call.
- Log 32-bit kevent structures via ktrace for 32-bit compat kevent() system calls.
- While here, constify the 'void *data' argument to ktrstruct().
Reviewed by: kib (earlier version) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D12470
show more ...
|
|
Revision tags: release/10.4.0 |
|
| #
39a3a438 |
| 04-Sep-2017 |
John Baldwin <[email protected]> |
Decode pathconf() names, *at() flags, and sysarch() numbers in libsysdecode.
Move tables that were previously in truss over to libsysdecode. truss output is unchanged, but kdump has been updated to
Decode pathconf() names, *at() flags, and sysarch() numbers in libsysdecode.
Move tables that were previously in truss over to libsysdecode. truss output is unchanged, but kdump has been updated to decode these fields. In addition, sysdecode_sysarch_number() should support all platforms whereas the old table in truss only supported x86.
show more ...
|
|
Revision tags: release/11.1.0 |
|
| #
ee8aa41d |
| 03-Jun-2017 |
John Baldwin <[email protected]> |
Decode the 'who' argument passed to getrusage().
Add a new sysdecode_getrusage_who() which decodes the RUSAGE_* constant passed as the first argument to getrusage(). Use this function in both kdump
Decode the 'who' argument passed to getrusage().
Add a new sysdecode_getrusage_who() which decodes the RUSAGE_* constant passed as the first argument to getrusage(). Use this function in both kdump and truss to decode the first argument to getrusage().
PR: 215448 Submitted by: Anton Yuzhaninov <[email protected]> MFC after: 1 month
show more ...
|
| #
738a93a4 |
| 25-May-2017 |
Michael Tuexen <[email protected]> |
Improve the decoding of the third argument of the socket() call.
Decoding of the third argument depends on the first one. For doing this, add a corresponding function to libsysdecode.
Thanks to jhb
Improve the decoding of the third argument of the socket() call.
Decoding of the third argument depends on the first one. For doing this, add a corresponding function to libsysdecode.
Thanks to jhb@ for suggesting this.
show more ...
|