STRUCT DSB_DATASET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the struct dsb_dataset(9) page from the Kernel API Manual β€” this is the struct that holds all the specifics associated to a dsb dataset. It’s giving β€œsmall but important” energy, fr fr. 🫢

✨ SYNOPSIS ✨

struct dsb_dataset {
    u32 mode;
    u32 edge_ctrl_idx;
    u32 edge_ctrl[TPDM_DSB_MAX_EDCR];
    u32 edge_ctrl_mask[TPDM_DSB_MAX_EDCMR];
    u32 patt_val[TPDM_DSB_MAX_PATT];
    u32 patt_mask[TPDM_DSB_MAX_PATT];
    u32 trig_patt[TPDM_DSB_MAX_PATT];
    u32 trig_patt_mask[TPDM_DSB_MAX_PATT];
    u32 msr[TPDM_DSB_MAX_MSR];
    bool patt_ts;
    bool patt_type;
    bool trig_ts;
    bool trig_type;
};

πŸŽ€ MEMBERS πŸŽ€

here’s the member-by-member vibe check, and yes we are doing every single field πŸ‘‘

  • mode β€” the DSB programming mode. that’s the whole assignment. πŸ’…
  • edge_ctrl_idx β€” the index number of the edge control. iconic little index behavior. ✨
  • edge_ctrl β€” saves the value for edge control. it’s a u32 array sized TPDM_DSB_MAX_EDCR. πŸŽ€
  • edge_ctrl_mask β€” saves the value for edge control mask. u32 array sized TPDM_DSB_MAX_EDCMR. πŸ¦‹
  • patt_val β€” saves the value for pattern. u32 array sized TPDM_DSB_MAX_PATT. 🌸
  • patt_mask β€” saves the value for pattern mask. u32 array sized TPDM_DSB_MAX_PATT. πŸ’œ
  • trig_patt β€” saves the value for trigger pattern. u32 array sized TPDM_DSB_MAX_PATT. πŸ”₯
  • trig_patt_mask β€” saves the value for trigger pattern mask. u32 array sized TPDM_DSB_MAX_PATT. πŸ‘‘
  • msr β€” saves the value for MSR. u32 array sized TPDM_DSB_MAX_MSR. ⭐
  • patt_ts β€” enable/disable pattern timestamp. 🌈
  • patt_type β€” set pattern type. πŸŽ€
  • trig_ts β€” enable/disable trigger timestamp. πŸ’«
  • trig_type β€” enable/disable trigger type. πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

  • kernel file ./drivers/hwtracing/coresight/coresight-tpdm.h πŸ“
  • struct cmb_dataset(9)
  • struct tpdm_drvdata(9)
  • struct tpdm_dataset_attribute(9)

and that’s the page, bestie! huge shoutout to the source/version ./drivers/hwtracing/coresight, dated October 2026 β€” catch you in the next struct dsb_dataset(9) moment πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from