summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2026-03-11 22:05:17 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2026-04-02 20:43:24 +0200
commite9bf38500ed9aec7cfdf9219c75d353645b41168 (patch)
treed531d968cfd670f784d61f90ad4905d6ffb84c51 /tools/perf/scripts/python/stackcollapse.py
parenta8dd5f1b73bc533e1192d38c82fc144595d3ce9a (diff)
fuse: add refcount to fuse_dev
This will make it possible to grab the fuse_dev and subsequently release the file that it came from. In the above case, fud->fc will be set to FUSE_DEV_FC_DISCONNECTED to indicate that this is no longer a functional device. When trying to assign an fc to such a disconnected fuse_dev, the fc is set to the disconnected state. Use atomic operations xchg() and cmpxchg() to prevent races. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions