Page MenuHomeFreeBSD

lindebugfs: implement debugfs_create_devm_seqfile()
AcceptedPublic

Authored by bz on Jun 10 2026, 12:09 PM.
Referenced Files
F171739708: D57524.diff
Sun, Sep 13, 4:33 AM
Unknown Object (File)
Fri, Sep 11, 5:11 AM
Unknown Object (File)
Thu, Sep 10, 6:04 AM
Unknown Object (File)
Wed, Sep 9, 11:02 PM
Unknown Object (File)
Tue, Sep 8, 10:09 AM
Unknown Object (File)
Tue, Sep 8, 12:25 AM
Unknown Object (File)
Mon, Sep 7, 3:16 AM
Unknown Object (File)
Sat, Sep 5, 4:01 AM

Details

Reviewers
dumbbell
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?

dumbbell added a subscriber: dumbbell.

I don’t have a better suggestion to make w.r.t. to the best location for this code.

This revision is now accepted and ready to land.Thu, Sep 10, 7:11 PM