diff options
author | Hongbo Li <[email protected]> | 2024-08-28 14:21:28 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-08-29 12:25:38 -0700 |
commit | c6d9dafb595564ae44ef2e25e3ace2973aa867f3 (patch) | |
tree | 1305a7b888249ab5d1038989bff1d2f9c086bade /tools/perf/scripts/python/libxed.py | |
parent | 89dd9bb25597621ca0500aa598140ff0858091e2 (diff) |
bpf: Use kvmemdup to simplify the code
Use kvmemdup instead of kvmalloc() + memcpy() to simplify the
code.
No functional change intended.
Acked-by: Yonghong Song <[email protected]>
Signed-off-by: Hongbo Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions