aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDave Marchevsky <[email protected]>2021-09-17 11:29:11 -0700
committerAlexei Starovoitov <[email protected]>2021-09-17 14:02:06 -0700
commita42effb0b24fcaf49513c2d7d77ef6daa9e32a6f (patch)
tree86bb0e923e0af391d62cc3f2d74cb0f44e7c1880 /tools/perf/scripts/python/mem-phys-addr.py
parent7606729fe24e163923430a5df9d50a246b22d287 (diff)
bpf: Clarify data_len param in bpf_snprintf and bpf_seq_printf comments
Since the data_len in these two functions is a byte len of the preceding u64 *data array, it must always be a multiple of 8. If this isn't the case both helpers error out, so let's make the requirement explicit so users don't need to infer it. Signed-off-by: Dave Marchevsky <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions