summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2024-10-07 15:24:57 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2024-10-14 18:23:45 +0300
commit1d10b2bed2d4b2003f174da739d8163b7f7957cf (patch)
tree931b6b5405b4d07ad28cdfea02fd465f0e8f042a /tools/perf/scripts/python/export-to-postgresql.py
parent6e126872191df946a6fe01b79273119d32d96711 (diff)
downloadlinux-1d10b2bed2d4b2003f174da739d8163b7f7957cf.tar.xz
xsk: Wrap duplicated code to function
Both allocation paths have exactly the same code responsible for getting and initializing xskb. Pull it out to common function. Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Magnus Karlsson <magnus.karlsson@intel.com> Link: https://lore.kernel.org/bpf/20241007122458.282590-6-maciej.fijalkowski@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions