aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-08-13 08:52:10 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-08-13 08:52:10 +0900
commitd9f6c64e03c2fd5bfe8e03f806b8e56d9cf112e4 (patch)
treebce3f4d6fb634100ecc645ec158a32af610a205b /tools/perf/scripts/python/export-to-postgresql.py
parentfirewire: core: code refactoring to use idr_for_each_entry() macro instead of idr_for_each() function (diff)
downloadwireguard-linux-d9f6c64e03c2fd5bfe8e03f806b8e56d9cf112e4.tar.xz
wireguard-linux-d9f6c64e03c2fd5bfe8e03f806b8e56d9cf112e4.zip
firewire: core: use xarray instead of idr to maintain client resource
In core function, the instances of some client resource structures are maintained by IDR. As of kernel v6.0, IDR has been superseded by XArray and deprecated. This commit replaces the usage of IDR with XArray to maintain the resource instances. The instance of XArray is allocated per client with XA_FLAGS_ALLOC1 so that the index of allocated entry is greater than zero and returns to user space client as handle of the resource. Link: https://lore.kernel.org/r/20240812235210.28458-6-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions