Skip to content

Commit

Permalink
fix sock_ops test. (#3083)
Browse files Browse the repository at this point in the history
* fix sock_ops test.

* forgot to update event count
  • Loading branch information
shankarseal committed Nov 28, 2023
1 parent 5b3cbf0 commit 7bc8770
Show file tree
Hide file tree
Showing 9 changed files with 1,572 additions and 2,160 deletions.
4 changes: 4 additions & 0 deletions libs/api_common/api_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ ebpf_result_to_errno(ebpf_result_t result)
error = EFAULT;
break;

case EBPF_OUT_OF_SPACE:
error = ENOSPC;
break;

default:
error = EOTHER;
break;
Expand Down
2 changes: 1 addition & 1 deletion libs/execution_context/ebpf_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static const void* _ebpf_general_helpers[] = {
(void*)&_ebpf_core_get_time_ns,
(void*)&ebpf_core_csum_diff,
// Ring buffer output.
(void*)&ebpf_ring_buffer_map_output,
(void*)&_ebpf_core_ring_buffer_output,
(void*)&_ebpf_core_trace_printk2,
(void*)&_ebpf_core_trace_printk3,
(void*)&_ebpf_core_trace_printk4,
Expand Down
Loading

0 comments on commit 7bc8770

Please sign in to comment.