STRUCT TPDA_TRIG_SYSFS_ATTRIBUTE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to the struct tpda_...fs_attribute(9) page in the Kernel API Manual πŸ’–. This struct's whole job is keeping track of the member variables of a cross trigger register that need to be operated by a sysfs file. That's it β€” tiny struct, very "I have one specific purpose" energy. πŸ’…

✨ SYNOPSIS ✨

It's giving "small struct, big sysfs energy" β€” here's the shape:

struct tpda_trig_sysfs_attribute {
    struct device_attribute attr;
    enum tpda_cr_mem mem;
};

πŸŽ€ Members πŸŽ€

  • attr β€” the device attribute. Yep, that's the struct device_attribute field, being iconic. πŸŽ€
  • mem β€” the member in the control register data structure. It's the one sysfs needs to operate on, iykyk. ✨

πŸ”­ SEE ALSO πŸ”­

  • Kernel file ./drivers/hwtracing/coresight/coresight-tpda.h
  • struct tpda_drvdata(9)

Go read those for the full lore, bestie. 🧚


source/version: ./drivers/hwtracing/coresight Β· date: October 2026 Β· page: struct tpda_...fs_attribute(9) β€” mwah, bye! πŸ’‹βœ¨

πŸ“¦ where this page comes from