aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorStefan Hajnoczi <[email protected]>2017-05-10 10:19:18 -0400
committerGreg Kroah-Hartman <[email protected]>2017-05-18 16:59:06 +0200
commitf4660cc994e12bae60d6f49895636fba662ce0a1 (patch)
tree1b2772f70601a954a790e19f75333dc993163ecd /tools/perf/scripts/python/bin/stackcollapse-record
parentff35eb23de9be50fbe3405f35244b5e82eadc5fa (diff)
vhost/vsock: use static minor number
Vhost-vsock is a software device so there is no probe call that causes the driver to register its misc char device node. This creates a chicken and egg problem: userspace applications must open /dev/vhost-vsock to use the driver but the file doesn't exist until the kernel module has been loaded. Use the devname modalias mechanism so that /dev/vhost-vsock is created at boot. The vhost_vsock kernel module is automatically loaded when the first application opens /dev/host-vsock. Note that the "reserved for local use" range in Documentation/admin-guide/devices.txt is incorrect. The userio driver already occupies part of that range. I've updated the documentation accordingly. Cc: [email protected] Signed-off-by: Stefan Hajnoczi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions