aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2019-01-21 12:36:12 +0100
committerDaniel Borkmann <[email protected]>2019-01-23 09:56:20 +0100
commitb0ca5ecb8e2279d706261f525f1bd0ba9e3fe800 (patch)
treecbd286bce867ca0512e1e78f732f9c4040892229 /tools/perf/scripts/python/syscall-counts.py
parent752bcf80f5549c9901b2e8bc77b2138de55b1026 (diff)
bpftool: fix percpu maps updating
When updating a percpu map, bpftool currently copies the provided value only into the first per CPU copy of the specified value, all others instances are left zeroed. This change explicitly copies the user-provided bytes to all the per CPU instances, keeping the sub-command syntax unchanged. v2 -> v3: - drop unused argument, as per Quentin's suggestion v1 -> v2: - rename the helper as per Quentin's suggestion Fixes: 71bb428fe2c1 ("tools: bpf: add bpftool") Signed-off-by: Paolo Abeni <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions