STRUCT HISI_PTT_FILTER_DESC(9)
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 abool, 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'sdevidof the filter. It's au16, 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms