| #
4ba91e07
|
| 26-Aug-2025 |
Felix Johnson <felix.the.red@gmail.com> |
sysdecode_syscallnames.3: s/names/name/
The sysdecode_syscallname function was accidentally documented as being plural. Move it to reflect it's actual name, and adjust all references.
PR: 278383
sysdecode_syscallnames.3: s/names/name/
The sysdecode_syscallname function was accidentally documented as being plural. Move it to reflect it's actual name, and adjust all references.
PR: 278383 Reviewed by: ziaee Differential Revision: https://reviews.freebsd.org/D51002
show more ...
|
| #
fa9896e0
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line nroff pattern
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
| #
7968a06a
|
| 12-Apr-2023 |
Warner Losh <imp@FreeBSD.org> |
sysdecode: Add aarch64
FREEBSD32 API is also supported on aarch64. Refer to aarch64 instead of arm64 because it's about the architecture (powerpc64), not the kernel interface...
Sponsored by: Netf
sysdecode: Add aarch64
FREEBSD32 API is also supported on aarch64. Refer to aarch64 instead of arm64 because it's about the architecture (powerpc64), not the kernel interface...
Sponsored by: Netflix
show more ...
|
| #
354efc4c
|
| 15-Apr-2022 |
Mark Johnston <markj@FreeBSD.org> |
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 ...
|
| #
b5f90655
|
| 23-Sep-2021 |
John Baldwin <jhb@FreeBSD.org> |
sysdecode.3: Remove documentation of CloudABI ABIs.
Fixes: cf0ee8738e31 Drop cloudabi
|
| #
2aaf9152
|
| 18-Mar-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead@r345275
|
| #
ff511f1f
|
| 11-Mar-2019 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r344996
|
| #
2e43efd0
|
| 06-Mar-2019 |
John Baldwin <jhb@FreeBSD.org> |
Drop "All rights reserved" from my copyright statements.
Reviewed by: rgrimes MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D19485
|
| #
4ba91e07
|
| 26-Aug-2025 |
Felix Johnson <felix.the.red@gmail.com> |
sysdecode_syscallnames.3: s/names/name/
The sysdecode_syscallname function was accidentally documented as being plural. Move it to reflect it's actual name, and adjust all references.
PR: 278383
sysdecode_syscallnames.3: s/names/name/
The sysdecode_syscallname function was accidentally documented as being plural. Move it to reflect it's actual name, and adjust all references.
PR: 278383 Reviewed by: ziaee Differential Revision: https://reviews.freebsd.org/D51002
show more ...
|
| #
fa9896e0
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line nroff pattern
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
| #
7968a06a
|
| 12-Apr-2023 |
Warner Losh <imp@FreeBSD.org> |
sysdecode: Add aarch64
FREEBSD32 API is also supported on aarch64. Refer to aarch64 instead of arm64 because it's about the architecture (powerpc64), not the kernel interface...
Sponsored by: Netf
sysdecode: Add aarch64
FREEBSD32 API is also supported on aarch64. Refer to aarch64 instead of arm64 because it's about the architecture (powerpc64), not the kernel interface...
Sponsored by: Netflix
show more ...
|
| #
354efc4c
|
| 15-Apr-2022 |
Mark Johnston <markj@FreeBSD.org> |
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 ...
|
| #
b5f90655
|
| 23-Sep-2021 |
John Baldwin <jhb@FreeBSD.org> |
sysdecode.3: Remove documentation of CloudABI ABIs.
Fixes: cf0ee8738e31 Drop cloudabi
|
| #
2aaf9152
|
| 18-Mar-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead@r345275
|
| #
ff511f1f
|
| 11-Mar-2019 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r344996
|
| #
2e43efd0
|
| 06-Mar-2019 |
John Baldwin <jhb@FreeBSD.org> |
Drop "All rights reserved" from my copyright statements.
Reviewed by: rgrimes MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D19485
|
| #
9a16bd16
|
| 26-Apr-2018 |
Ed Maste <emaste@FreeBSD.org> |
libsysdecode: support errno and syscalls for arm64 Linux
Sponsored by: Turing Robotic Industries Inc.
|
| #
a826eb5a
|
| 15-Jan-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Add support for decoding the type of a cmsg.
|
| #
1e6455d8
|
| 14-Jan-2018 |
Michael Tuexen <tuexen@FreeBSD.org> |
Add a function is decode the sinfo_flags of struct sctp_sndrcvinfo.
|
| #
87f69bee
|
| 16-Dec-2017 |
Ed Schouten <ed@FreeBSD.org> |
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 <jhb@FreeBSD.org> |
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 ...
|
| #
a14eb6db
|
| 03-Jun-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r319480 through r319547.
|
| #
2bdd2e7e
|
| 03-Jun-2017 |
John Baldwin <jhb@FreeBSD.org> |
Add a cross-reference to sysdecode_socket_protocol(3).
|
| #
5763f796
|
| 21-Oct-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r307383 through r307735.
|
| #
9289f547
|
| 17-Oct-2016 |
John Baldwin <jhb@FreeBSD.org> |
Move mksubr from kdump into libsysdecode.
Restructure this script so that it generates a header of tables instead of a source file. The tables are included in a flags.c source file which provides f
Move mksubr from kdump into libsysdecode.
Restructure this script so that it generates a header of tables instead of a source file. The tables are included in a flags.c source file which provides functions to decode various system call arguments.
For functions that decode an enumeration, the function returns a pointer to a string for known values and NULL for unknown values.
For functions that do more complex decoding (typically of a bitmask), the function accepts a pointer to a FILE object (open_memstream() can be used as a string builder) to which decoded values are written. If the function operates on a bitmask, the function returns true if any bits were decoded or false if the entire value was valid. Additionally, the third argument accepts a pointer to a value to which any undecoded bits are stored. This pointer can be NULL if the caller doesn't care about remaining bits.
Convert kdump over to using decoder functions from libsysdecode instead of mksubr. truss also uses decoders from libsysdecode instead of private lookup tables, though lookup tables for objects not decoded by kdump remain in truss for now. Eventually most of these tables should move into libsysdecode as the automated table generation approach from mksubr is less stale than the static tables in truss.
Some changes have been made to truss and kdump output: - The flags passed to open() are now properly decoded in that one of O_RDONLY, O_RDWR, O_WRONLY, or O_EXEC is always included in a decoded mask. - Optional arguments to open(), openat(), and fcntl() are only printed in kdump if they exist (e.g. the mode is only printed for open() if O_CREAT is set in the flags). - Print argument to F_GETLK/SETLK/SETLKW in kdump as a pointer, not int. - Include all procctl() commands. - Correctly decode pipe2() flags in truss by not assuming full open()-like flags with O_RDONLY, etc. - Decode file flags passed to *chflags() as file flags (UF_* and SF_*) rather than as a file mode. - Fix decoding of quotactl() commands by splitting out the two command components instead of assuming the raw command value matches the primary command component.
In addition, truss and kdump now build without triggering any warnings. All of the sysdecode manpages now include the required headers in the synopsis.
Reviewed by: kib (several older versions), wblock (manpages) MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D7847
show more ...
|