Skip to main content

kernel_object_always

Macro kernel_object_always 

Source
macro_rules! kernel_object_always {
    ($koid:expr, $obj_type:expr, $name:tt $(, $key:tt => $val:expr)* $(,)?) => { ... };
}
Expand description

Writes a kernel object record unconditionally. Useful for generating the initial set of object info records before tracing is enabled.

§Arguments:

  • koid: Kernel object id of the object. Expects type u64.
  • obj_type: The type the object. Expects type u32.
  • name: The name of the object. Expects a string literal or expression.
  • …: List of key => value argument pairs.