aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorHongbo Li <[email protected]>2024-08-28 14:21:28 +0800
committerAlexei Starovoitov <[email protected]>2024-08-29 12:25:38 -0700
commitc6d9dafb595564ae44ef2e25e3ace2973aa867f3 (patch)
tree1305a7b888249ab5d1038989bff1d2f9c086bade /tools/perf/scripts/python/libxed.py
parent89dd9bb25597621ca0500aa598140ff0858091e2 (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