summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorCosta Shulyupin <costa.shul@redhat.com>2025-12-24 15:50:56 +0300
committerTomas Glozar <tglozar@redhat.com>2026-01-07 17:57:38 +0300
commit2a3a25336b1ba632a0a98249a7d4bbee454065aa (patch)
treeed81215e281676f70f2b35c3bd6de0f75fb7bc00 /include/uapi/linux
parent0576be469ef18a9f3460f6f207183033ae8b90c5 (diff)
downloadlinux-2a3a25336b1ba632a0a98249a7d4bbee454065aa.tar.xz
tools/rtla: Deduplicate cgroup path opening code
Both set_pid_cgroup() and set_comm_cgroup() functions contain identical code for opening the cgroup.procs file. Extract this common code into a new helper function open_cgroup_procs() to reduce code duplication and improve maintainability. Signed-off-by: Costa Shulyupin <costa.shul@redhat.com> Link: https://lore.kernel.org/r/20251224125058.1771519-1-costa.shul@redhat.com Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions