diff options
author | 2024-11-03 20:18:39 -0800 | |
---|---|---|
committer | 2024-11-05 13:38:27 -0800 | |
commit | 819928770bd91960f88f5a4dfa21b35a1bade61b (patch) | |
tree | c3e652355ee635e4fcb4f4b12a45efb6ed3656fa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: factor out a generic xfs_group structure (diff) | |
download | wireguard-linux-819928770bd91960f88f5a4dfa21b35a1bade61b.tar.xz wireguard-linux-819928770bd91960f88f5a4dfa21b35a1bade61b.zip |
xfs: add a xfs_group_next_range helper
Add a helper to iterate over iterate over all groups, which can be used
as a simple while loop:
struct xfs_group *xg = NULL;
while ((xg = xfs_group_next_range(mp, xg, 0, MAX_GROUP))) {
...
}
This will be wrapped by the realtime group code first, and eventually
replace the for_each_rtgroup_from and for_each_rtgroup_range helpers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions