Skip to main content

Crate linsight_plugin_sdk

Crate linsight_plugin_sdk 

Source

Re-exports§

pub use linsight_core;
pub use stabby;
pub use manifest::*;
pub use mirror::*;
pub use plugin::*;

Modules§

export
manifest
mirror
pciids
Parser for the kernel’s pci.ids database (/usr/share/hwdata/ pci.ids on Arch/Debian/Fedora/SUSE; /usr/share/misc/pci.ids on Debian as an alternative).
plugin

Macros§

export_plugin
Define the entry points an out-of-tree plugin’s cdylib must export.

Constants§

LINSIGHT_PLUGIN_ABI_VERSION
Bump only on breaking changes to the plugin ABI. The daemon refuses to load plugins whose returned abi version does not match this constant.
STATIC_TAG
Re-export of linsight_core::STATIC_TAG — the canonical sensor tag marking a value as constant for the process lifetime. Defined in linsight-core so the daemon, plugins, SDK, and GUI all share one source of truth. Sensor tag marking a value as effectively constant for the process lifetime (e.g. total VRAM / RAM capacity). The daemon’s scheduler samples a STATIC_TAG sensor once per subscription instead of polling it, and the GUI both omits its trend chart and renders it as a rounded whole-GB capacity rather than a fractional binary size. Plugins opt in by pushing this string into a sensor’s tags.