diff options
author | Brendan Jackman <[email protected]> | 2021-01-12 12:34:22 +0000 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-01-12 21:38:34 +0100 |
commit | c6458e72f6fd6ac7e390da0d9abe8446084886e5 (patch) | |
tree | d198c92978844d3e4050b5accd2c9647f44cc00e /tools/perf/scripts/python/flamegraph.py | |
parent | e22d7f05e445165e58feddb4e40cc9c0f94453bc (diff) |
bpf: Clarify return value of probe str helpers
When the buffer is too small to contain the input string, these helpers
return the length of the buffer, not the length of the original string.
This tries to make the docs totally clear about that, since "the length
of the [copied ]string" could also refer to the length of the input.
Signed-off-by: Brendan Jackman <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: KP Singh <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions