rdtgroup_mode_str(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rdtgroup_mode_str(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes, the real one, the kernel one, we're doing this 🫢 this is the lil page for rdtgroup_mode_str, and honestly? it's giving "small function, big main character energy" ✨


🌸 NAME 🌸

rdtgroup_mode_str β€” literally just returns the string representation of a mode, that's the whole vibe πŸ’–


✨ SYNOPSIS ✨

const char * rdtgroup_mode_str (enum rdtgrp_mode mode );

that's it. that's the signature. copy it exactly, no cap πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • mode β€” the resource group mode, handed to you as an enum rdtgroup_mode πŸ’« so like, it's an enum, it's the mode, it's the resource group's mode. iykyk.

⭐ RETURN ⭐

you get back the string representation of a valid mode πŸ’… and if it's not a valid mode? you get "unknown" instead. that's the fallback, she's humble, she's reliable 🌈

fr fr, "unknown" is the exact string, quotes and all β€” don't be out here inventing your own spelling πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

bestie there are SO many friends here, it's a whole group chat 😭 and also, the kernel file lives at ./fs/resctrl/rdtgroup.c β€” write that down πŸ“


okay that's the page!! she's short, she's sweet, she ate and left no crumbs πŸ‘‘

source/version: ./fs/resctrl  β€’  date: October 2026 β€” bye bestie, mwah πŸ’œπŸŽ€

πŸ“¦ where this page comes from