aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-04-29 08:47:00 -0700
committerPaolo Abeni <pabeni@redhat.com>2025-05-02 12:41:02 +0200
commit3456084d6361f4c835b73a0bce04fa5894bf9c65 (patch)
tree8a5db841e6974ac3e39a6100255a6ee4ca02a008 /tools/perf/scripts/python/export-to-postgresql.py
parenttools: ynl-gen: multi-attr: type gen for string (diff)
downloadwireguard-linux-3456084d6361f4c835b73a0bce04fa5894bf9c65.tar.xz
wireguard-linux-3456084d6361f4c835b73a0bce04fa5894bf9c65.zip
tools: ynl-gen: mutli-attr: support binary types with struct
Binary types with struct are fixed size, relatively easy to handle for multi attr. Declare the member as a pointer. Count the members, allocate an array, copy in the data. Allow the netlink attr to be smaller or larger than our view of the struct in case the build headers are newer or older than the running kernel. Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://patch.msgid.link/20250429154704.2613851-9-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions