diff options
| author | Leon Hwang <[email protected]> | 2023-08-01 22:26:20 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-08-02 14:21:12 -0700 |
| commit | bf4ea1d0b2cb2251f9e5619c81daa98591087c33 (patch) | |
| tree | f23d51c0091df06cb2cf045bcb1f099ea9d4c225 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 416c6d01244ecbf0abfdb898fd091b50ef951b48 (diff) | |
bpf, xdp: Add tracepoint to xdp attaching failure
When error happens in dev_xdp_attach(), it should have a way to tell
users the error message like the netlink approach.
To avoid breaking uapi, adding a tracepoint in bpf_xdp_link_attach() is
an appropriate way to notify users the error message.
Hence, bpf libraries are able to retrieve the error message by this
tracepoint, and then report the error message to users.
Signed-off-by: Leon Hwang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions