summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2026-03-11 22:27:44 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2026-04-02 20:43:25 +0200
commitd42eb23b2ef9fbe66ea7fd4b3153c3244818d47c (patch)
tree024a13ffcc37b1e14f39b1f216ce24e0f00d8345 /tools/perf/scripts/python/stackcollapse.py
parente9bf38500ed9aec7cfdf9219c75d353645b41168 (diff)
fuse: don't require /dev/fuse fd to be kept open during mount
With the new mount API the sequence of syscalls would be: fs_fd = fsopen("fuse", 0); snprintf(opt, sizeof(opt), "%i", devfd); fsconfig(fs_fd, FSCONFIG_SET_STRING, "fd", opt, 0); /* ... */ fsconfig(fs_fd, FSCONFIG_CMD_CREATE, 0, 0, 0); Current mount code just stores the value of devfd in the fs_context and uses it in during FSCONFIG_CMD_CREATE, which is inelegant. Instead grab a reference to the underlying fuse_dev, and use that during the filesystem creation. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions