diff options
| author | Brian Foster <bfoster@redhat.com> | 2023-04-03 08:17:26 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:00 -0400 |
| commit | bf98ee10d45af8e97c0802e39cc77ee607072633 (patch) | |
| tree | ff208e015921eecbaced1c6201a47cbfb7d2f901 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e3dc75eb551599c356a9a3f8c00ae6396164457d (diff) | |
| download | linux-bf98ee10d45af8e97c0802e39cc77ee607072633.tar.gz linux-bf98ee10d45af8e97c0802e39cc77ee607072633.zip | |
bcachefs: folio pos to bch_folio_sector index helper
Create a small helper to translate from file offset to the
associated bch_folio_sector index in the underlying bch_folio. The
helper assumes the file offset is covered by the passed folio.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
