cscfg_load_config_sets(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the cscfg_load_config_sets(9) page in the Kernel API Manual β€” the one that loads feature and config sets, and honestly it’s giving main character energy. πŸ’…βœ¨

🌸 NAME 🌸

cscfg_load_config_sets β€” the API function that loads feature and config sets. periodt. 🫢

✨ SYNOPSIS ✨

int cscfg_load_config_sets (struct cscfg_config_desc **config_descs ,
       struct cscfg_feature_desc **feat_descs , struct cscfg_load_owner_info
       *owner_info );

πŸŽ€ ARGUMENTS πŸŽ€

  • config_descs β€” a 0 terminated array of configuration descriptors.
  • feat_descs β€” a 0 terminated array of feature descriptors.
  • owner_info β€” information on the owner of this set.

πŸ’– DESCRIPTION πŸ’–

So bestie, this function takes a 0 terminated array of feature descriptors and/or configuration descriptors and loads them into the system. Features get loaded first so configuration dependencies can be met β€” no cap. πŸ”₯

To facilitate dynamic loading and unloading, features and configurations have a "load_owner", which lets the same owner unload them later. An owner may be a loadable module or a configuration dynamically created via configfs. Since later loaded configurations can use earlier loaded features, that creates load dependencies, and a load order list is maintained. Unload is strictly in the reverse order to load. literally don’t try to unload out of order, okay? πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/hwtracing/coresight/coresight-syscfg.c β€” that’s the spot. πŸ‘€


πŸ’Œ okay that’s the page! this one came from the ./drivers/hwtracing/coresight source/version, dated October 2026, and it’s the cscfg_load_config_sets(9) page from the Kernel API Manual. stay slay, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from