diff options
| author | Mykyta Yatsenko <[email protected]> | 2024-03-25 15:22:10 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-03-28 18:30:53 -0700 |
| commit | 786bf0e7e2ec90b349a7bab6e97947982ab31f2c (patch) | |
| tree | 06035090d80edace56555e7454bc414989f07903 /tools/perf/scripts/python/flamegraph.py | |
| parent | 59b418c7063d30e0a3e1f592d47df096db83185c (diff) | |
bpf: improve error message for unsupported helper
BPF verifier emits "unknown func" message when given BPF program type
does not support BPF helper. This message may be confusing for users, as
important context that helper is unknown only to current program type is
not provided.
This patch changes message to "program of this type cannot use helper "
and aligns dependent code in libbpf and tests. Any suggestions on
improving/changing this message are welcome.
Signed-off-by: Mykyta Yatsenko <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions