xen/events: add per-xenbus device event statistics and settings
Add syfs nodes for each xenbus device showing event statistics (number of events and spurious events, number of associated event channels) and for setting a spurious event threshold in case a frontend is sending too many events without being rogue on purpose. Signed-off-by:Juergen Gross <jgross@suse.com> Reviewed-by:
Boris Ostrovsky <boris.ostrovsky@oracle.com> Link: https://lore.kernel.org/r/20210219154030.10892-7-jgross@suse.com Signed-off-by:
Boris Ostrovsky <boris.ostrovsky@oracle.com>
Showing
- Documentation/ABI/testing/sysfs-devices-xenbus 41 additions, 0 deletionsDocumentation/ABI/testing/sysfs-devices-xenbus
- drivers/xen/events/events_base.c 25 additions, 2 deletionsdrivers/xen/events/events_base.c
- drivers/xen/xenbus/xenbus_probe.c 66 additions, 0 deletionsdrivers/xen/xenbus/xenbus_probe.c
- include/xen/xenbus.h 7 additions, 0 deletionsinclude/xen/xenbus.h
Loading
Please register or sign in to comment