aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRoger L. Beckermeyer III <beckerlee3@gmail.com>2024-12-18 08:28:52 +1030
committerDavid Sterba <dsterba@suse.com>2025-01-13 14:53:18 +0100
commit14ae60c71221d3ec64482476262e5b9eb4494be4 (patch)
treed2b63d0c6a2cffa02f8a09bb3ec6628da64c9186 /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: update btrfs_add_block_group_cache() to use rb helper (diff)
downloadwireguard-linux-14ae60c71221d3ec64482476262e5b9eb4494be4.tar.xz
wireguard-linux-14ae60c71221d3ec64482476262e5b9eb4494be4.zip
btrfs: update prelim_ref_insert() to use rb helpers
Update prelim_ref_insert() to use rb_find_add_cached(). There is a special change that the existing prelim_ref_compare() is called with the first parameter as the existing ref in the rbtree. But the newer rb_find_add_cached() expects the cmp() function to have the first parameter as the to-be-added node, thus the new helper prelim_ref_rb_add_cmp() need to adapt this new order. Signed-off-by: Roger L. Beckermeyer III <beckerlee3@gmail.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions