Page MenuHomeFreeBSD

kdump: Add a facility to print numbers always in decimal format
ClosedPublic

Authored by dchagin on May 14 2023, 11:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 7 2024, 1:23 PM
Unknown Object (File)
Dec 20 2023, 4:11 AM
Unknown Object (File)
Dec 20 2023, 1:20 AM
Unknown Object (File)
Nov 21 2023, 8:52 AM
Unknown Object (File)
Nov 10 2023, 10:45 PM
Unknown Object (File)
Nov 9 2023, 9:22 PM
Unknown Object (File)
Nov 8 2023, 10:51 PM
Unknown Object (File)
Nov 8 2023, 7:26 AM
Subscribers

Details

Summary

To help grepping kdump output by pid or tid it makes sence to print
some numbers in decimal format always. Eg, process or thread identifier
atleast, as they already printed in decimal format.
Switch to print pid/tid/ arguments of some Linux signal related syscalls
in decimal format.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dchagin retitled this revision from linux(4): Add a facility to print numbers always in decimal format to kdump: Add a facility to print numbers always in decimal format.May 14 2023, 11:21 PM
dchagin added a reviewer: jhb.

I wouldn't mind spelling out "decimal". File descriptor arguments are also good candidates for always printing as decimal BTW.

This revision is now accepted and ready to land.May 20 2023, 5:37 PM
In D40099#914847, @jhb wrote:

I wouldn't mind spelling out "decimal".

ok, thanks. are you ok if I change native syscalls (signals related, for start) too?
by separate chang of course

File descriptor arguments are also good candidates for always printing as decimal BTW.

Yeah, next time )

In D40099#914847, @jhb wrote:

I wouldn't mind spelling out "decimal".

ok, thanks. are you ok if I change native syscalls (signals related, for start) too?
by separate chang of course

Yes, please.