-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drgn.helpers.linux.list: add list_count_nodes()
I've needed this many times, but there wasn't a corresponding function in the kernel so I could never decide what to name it. Linux kernel commit 4d70c74659d9 ("i915: Move list_count() to list.h as list_count_nodes() for broader use") (in v6.3-rc1) fixed that problem for me. Signed-off-by: Omar Sandoval <osandov@osandov.com>
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters