intel_th_gth_assign(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_th_gth_assign(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this one is about intel_th_gth_assign, and it is lowkey doing matchmaking between an output device and a GTH output port 🫢


✨ SYNOPSIS ✨

int intel_th_gth_assign (struct intel_th_device *thdev , struct
       intel_th_device *othdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • thdev β€” the GTH device πŸ‘‘
  • othdev β€” the output device πŸ¦‹

🌸 DESCRIPTION 🌸

So basically: this will match a given output device’s parameters against the output ports that are present on the GTH, and then it fills out the relevant bits in the output device’s descriptor. it’s giving matchmaker energy, but for kernel structures πŸ’…βœ¨


⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • -errno on error 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/hwtracing/intel_th/gth.c


and that’s the whole vibe check, bestie πŸ’– cute little sign-off time: the footer says source/version ./drivers/hwtracing/intel_th, dated October 2026, for the page intel_th_gth_assign(9) 🌈 periodt ✨

πŸ“¦ where this page comes from