summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBradley Morgan <include@grrlz.net>2026-08-01 22:58:44 +0000
committerAndrew Morton <akpm@linux-foundation.org>2026-10-06 19:03:00 -0700
commitcc2356e17ff2320ed9cd9970317fb2265a633d9e (patch)
tree4da6964f2176a9b4a4b900c7689b42638a2f68a5 /include/linux
parent9decb604dc064099a6249150f0c4909525ed657c (diff)
taskstats: fold the two pid/tgid handlers into one
cmd_attr_pid() and cmd_attr_tgid() are copy paste. fold them into one handler that takes the attr type and fill function as parameters, same pattern as the cpumask fold in 59c0bc949c5e. No functional change. Link: https://lore.kernel.org/20260801225845.23855-1-include@grrlz.net Signed-off-by: Bradley Morgan <include@grrlz.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Balbir Singh <bsingharora@gmail.com> Cc: Balbir Singh <balbirs@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions