opnsense-src/usr.bin/kdump
Kyle Evans b983d4f63c kdump: decode pollfd struct arrays coming from poll(2)
We'll handle these just as we do kevents, one per line with subsequent
lines indented sufficiently to distinguish them from the upcoming
return value.

Sample, with indentation stripped and revents changed to '...' in the
first one to keep the line length down:

CALL  poll(0x820610560,0x3,0)
STRU  struct pollfd[] = { { fd=0, events=0x1<POLLIN>, revents=0x11<...>
 { fd=1, events=0x4<POLLOUT>, revents=0x4<POLLOUT>}
 { fd=-1, events=0x4<POLLOUT>, revents=0} }
RET   poll 2

Reviewed by:	bapt, jhb

(cherry picked from commit 02c57f7b48772c5ec4e3a0a3405273b387b9bb08)
2024-03-18 10:52:58 -05:00
..
kdump.1 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
kdump.c kdump: decode pollfd struct arrays coming from poll(2) 2024-03-18 10:52:58 -05:00
kdump.h kdump: Add a facility to print numbers in decimal format always 2023-05-26 19:35:08 +03:00
linux.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00