Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I am writing a
BPF_PROG_TYPE_SOCKET_OPS
program and I am seeing the following in
/sys/kernel/debug/tracing/trace_pipe
:
<...>-12586 [001] .... 6972.409111: 0: update err: -95
when I load it due to the following snippet:
ret = bpf_sock_map_update(ops, &sock_ops, &idx, BPF_ANY);
if (ret < 0) {
bpf_debug("update err: %d\n", ret);
How can I work out what -95 means? When I look in https://elixir.bootlin.com/linux/latest/source/arch/alpha/include/uapi/asm/errno.h I see:
#define ENOCSI 95 /* No CSI structure available */
Is this the correct way to find the meaning of the error? And what is the meaning of the description if so?
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.