diff options
| author | Yiyang Chen <cyyzero16@gmail.com> | 2026-07-13 01:13:31 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-08-03 21:10:14 -0700 |
| commit | 0a2418c32734e5fd657d74b3a9598746e5a1f4f4 (patch) | |
| tree | fa33f788d11816b9e4098eb5429047ab94a25049 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 041c9d0ab53b52ebd52229ddd9b347a6ccf4b287 (diff) | |
selftests/acct: share netlink helpers
Extract the duplicated generic netlink boilerplate (netlink_open,
send_request, get_family_id, and NLA walker macros) from cgroupstats.c and
taskstats_fill_stats_tgid.c into a shared netlink_helper.{h,c}.
Link: https://lore.kernel.org/a2adf27308b5cd90d50b59e8519b87da49486bee.1783876192.git.cyyzero16@gmail.com
Signed-off-by: Yiyang Chen <cyyzero16@gmail.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Balbir Singh <balbirs@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
