diff options
author | Quentin Monnet <[email protected]> | 2019-11-19 11:17:06 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-11-24 16:58:44 -0800 |
commit | a0f17cc6665c80ab2765f9244c41ec127821f343 (patch) | |
tree | 210d5eafe2c8e36549729e1df540525b390401c9 /tools/perf/scripts/python/stackcollapse.py | |
parent | 5d946c5abbaf68083fa6a41824dd79e1f06286d8 (diff) |
tools, bpftool: Fix warning on ignored return value for 'read'
When building bpftool, a warning was introduced by commit a94364603610
("bpftool: Allow to read btf as raw data"), because the return value
from a call to 'read()' is ignored. Let's address it.
Signed-off-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions