Page MenuHomeFreeBSD

lindebugfs: implement debugfs_create_devm_seqfile()
Needs ReviewPublic

Authored by bz on Jun 10 2026, 12:09 PM.
Referenced Files
F168766210: D57524.diff
Sun, Aug 30, 1:19 AM
Unknown Object (File)
Wed, Aug 26, 5:08 AM
Unknown Object (File)
Tue, Aug 25, 12:17 PM
Unknown Object (File)
Mon, Aug 24, 9:17 AM
Unknown Object (File)
Sat, Aug 22, 9:50 AM
Unknown Object (File)
Fri, Aug 21, 8:33 PM
Unknown Object (File)
Sat, Aug 15, 3:10 AM
Unknown Object (File)
Tue, Aug 11, 12:45 PM
Subscribers

Details

Reviewers
None
Group Reviewers
linuxkpi
Summary

Implement debugfs_create_devm_seqfile() keyed by device and a
read function.

XXX I am not really sure where to put all the bits as they do not
seem to really belong in lindebugfs, but also do not really fit
into debugfs.h (rather fs.h?)
I have thus left over a few bits to cleanup in the hope we can
sort the belonings of the implementation out first.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 73802
Build 70685: arc lint + arc unit

Event Timeline

bz requested review of this revision.Jun 10 2026, 12:09 PM

Please see the XXX in the proposed commit message for now. I still wonder which headers and implementation files to put these things given they are this weird mix between device binding and debugfs.

I am expecting to move things around as a result so technical or style review maybe after this is sorted and I updated the review.

Anyone any suggestions/comments on where to place these bits?