diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2025-02-28 18:01:31 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-03-03 17:16:34 -0800 |
commit | 456cc675b6d4cadd4872a477d8976ff56eef4b6f (patch) | |
tree | 7b10478e9ac52fba8cf90a52f27bd5b3746e469e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b84c5239979f961a51c85441d6642f6256688dd8 (diff) |
sock: add sock_kmemdup helper
This patch adds the sock version of kmemdup() helper, named sock_kmemdup(),
to duplicate the input "src" memory block using the socket's option memory
buffer.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/f828077394c7d1f3560123497348b438c875b510.1740735165.git.tanggeliang@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions