fix_raw(9)
π fix_raw(9)
okay bestie, so this page is from the Kernel API Manual and it's literally all about fix_raw π
β¨ NAME β¨
fix_raw β for each raw term, see if there's an event (aka alias) in pmu that matches the raw's string value. π¦
If the string value matches an event, then change the term to be an event. If it doesn't match, then change it to be a config term. For example, "read" may be an event of the PMU, or a raw hex encoding of 0xead. The fix-up is done late so the PMU of the event can be determined and we don't need to scan all PMUs ahead-of-time. no cap, that's the whole vibe π
πΈ SYNOPSIS πΈ
void fix_raw (struct parse_events_terms *config_terms , struct perf_pmu
*pmu );
β ARGUMENTS β
config_termsβ the list of terms that may contain a raw term. π«Άpmuβ the PMU to scan for events from. π
π¦ SEE ALSO π¦
- Kernel file
./tools/perf/util/parse-events.c parse_aliases(9)parse_events__decode_legacy_cache(9)parse_events__filter_pmu(9)
and that's the whole page, bestie, you ate that π
this little icon came from ./tools/perf/util, version date October 2026, and it's filed under fix_raw(9) β periodt πβ¨
π¦ 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