STRUCT HISI_PTT_FILTER_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie! welcome to the Kernel API Manual page for struct hisi_ptt_filter_desc(9) β€” yes, we're doing kernel structs today and it's gonna slay πŸ’….

✨ NAME ✨

struct hisi_ptt_filter_desc β€” Descriptor of the PTT trace filter. That's the whole name, bestie, and yes it's giving "tiny but important struct" energy πŸ’….

🌸 SYNOPSIS 🌸

struct hisi_ptt_filter_desc {
    struct device_attribute attr;
    struct list_head list;
    bool is_port;
    char *name;
    u16 devid;
};

πŸŽ€ Members πŸŽ€

  • attr β€” the sysfs attribute of this filter. That's its whole job here, no cap.
  • list β€” this descriptor's entry in the filter list. It's how the struct links up with the rest of the list girlies 🫢.
  • is_port β€” tells you whether the filter's PCI device is a Root Port or not. Yes, it's a bool, and yes, it's serving "simple but crucial" πŸ’–.
  • name β€” the name of this filter, and it's the same as the name of the related PCI device. Matching names, matching vibes ✨.
  • devid β€” the PCI device's devid of the filter. It's a u16, periodt.

🌈 SEE ALSO 🌈

okay so if you're going on a little struct scavenger hunt, the Kernel file ./drivers/hwtracing/ptt/hisi_ptt.h struct crew is right here:

  • struct hisi_ptt_tune_desc(9)
  • struct hisi_ptt_dma_buffer(9)
  • struct hisi_ptt_trace_ctrl(9)
  • struct hisi_ptt_filter_update_info(9)
  • struct hisi_ptt_pmu_buf(9)
  • struct hisi_ptt(9)

mwah πŸ’‹ β€” source/version: ./drivers/hwtracing/ptt; date: October 2026; page: struct hisi_ptt_filter_desc(9). byeee, go read your structs πŸ§šβ€β™€οΈ.

πŸ“¦ where this page comes from