STRUCT ETM_EVENT_DATA(9)
π NAME π
okay so bestie, this page is all about struct etm_event_data β Coresight specifics associated to an event. it's from the Kernel API Manual, and it's lowkey the main character struct for holding Coresight event deets β¨ no cap.
β¨ SYNOPSIS β¨
here's the whole struct, literally:
struct etm_event_data {
struct work_struct work;
cpumask_t mask;
cpumask_t aux_hwid_done;
void *snk_config;
u32 cfg_hash;
struct coresight_path * __percpu *path;
};
π Members π
member-by-member vibe check, let's go bestie:
workβ the handle to free allocated memory outside IRQ context. it's doing the cleanup outside IRQ context, periodt π«Άmaskβ holds the CPU(s) this event was set for. keeping track of which CPUs are in the group chat πaux_hwid_doneβ whether a CPU has emitted the TraceID packet or not. yes/no, iconic binary energy πsnk_configβ the sink configuration. the sink's config, fr fr πΈcfg_hashβ the hash id of any coresight config selected. it's giving "which config got picked" π₯pathβ an array of path, each slot for one CPU. one slot per CPU, no cap π¦
π SEE ALSO π
- Kernel file
./drivers/hwtracing/coresight/coresight-etm-perf.hβstruct etm_filter(9),struct etm_filters(9). go read those for the full lore π iykyk.
okay that's the whole page, bestie π it comes from ./drivers/hwtracing/coresight, dated October 2026, and it's literally struct etm_event_data(9). slay, you ate that kernel doc reading session β¨π
π¦ 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