Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor bpf loader #864

Merged
merged 10 commits into from
Oct 10, 2024

kernel-native mode fix found by lec-bit

832964e
Select commit
Loading
Failed to load commit list.
Merged

Refactor bpf loader #864

kernel-native mode fix found by lec-bit
832964e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Oct 10, 2024 in 0s

58.33% of diff hit (target 80.00%)

View this Pull Request on Codecov

58.33% of diff hit (target 80.00%)

Annotations

Check warning on line 57 in pkg/bpf/ads/loader.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/ads/loader.go#L56-L57

Added lines #L56 - L57 were not covered by tests

Check warning on line 59 in pkg/bpf/ads/loader.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/ads/loader.go#L59

Added line #L59 was not covered by tests

Check warning on line 63 in pkg/bpf/ads/loader.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/ads/loader.go#L63

Added line #L63 was not covered by tests

Check warning on line 67 in pkg/bpf/ads/loader.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/ads/loader.go#L67

Added line #L67 was not covered by tests

Check warning on line 72 in pkg/bpf/ads/loader.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/ads/loader.go#L72

Added line #L72 was not covered by tests

Check warning on line 88 in pkg/bpf/ads/loader.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/ads/loader.go#L88

Added line #L88 was not covered by tests

Check warning on line 77 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L77

Added line #L77 was not covered by tests

Check warning on line 80 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L80

Added line #L80 was not covered by tests

Check warning on line 83 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L83

Added line #L83 was not covered by tests

Check warning on line 86 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L86

Added line #L86 was not covered by tests

Check warning on line 89 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L89

Added line #L89 was not covered by tests

Check warning on line 107 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L107

Added line #L107 was not covered by tests

Check warning on line 144 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L144

Added line #L144 was not covered by tests

Check warning on line 146 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L146

Added line #L146 was not covered by tests

Check warning on line 187 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L187

Added line #L187 was not covered by tests

Check warning on line 279 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L279

Added line #L279 was not covered by tests

Check warning on line 283 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L283

Added line #L283 was not covered by tests

Check warning on line 287 in pkg/bpf/bpf.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/bpf.go#L287

Added line #L287 was not covered by tests

Check warning on line 78 in pkg/bpf/restart/bpf_restart.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/restart/bpf_restart.go#L78

Added line #L78 was not covered by tests

Check warning on line 121 in pkg/bpf/restart/bpf_restart.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/restart/bpf_restart.go#L120-L121

Added lines #L120 - L121 were not covered by tests

Check warning on line 39 in pkg/bpf/workload/sendmsg.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/workload/sendmsg.go#L39

Added line #L39 was not covered by tests

Check warning on line 42 in pkg/bpf/workload/sendmsg.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/workload/sendmsg.go#L42

Added line #L42 was not covered by tests

Check warning on line 64 in pkg/bpf/workload/sendmsg.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/workload/sendmsg.go#L64

Added line #L64 was not covered by tests

Check warning on line 70 in pkg/bpf/workload/sendmsg.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/workload/sendmsg.go#L70

Added line #L70 was not covered by tests

Check warning on line 85 in pkg/bpf/workload/sendmsg.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bpf/workload/sendmsg.go#L85

Added line #L85 was not covered by tests