• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iovisor / ubpf / 11450649499
79%

Build:
DEFAULT BRANCH: main
Ran 22 Oct 2024 12:05AM UTC
Jobs 6
Files 166
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Oct 2024 12:04AM UTC coverage: 79.342% (-0.2%) from 79.503%
11450649499

push

github

web-flow
Fix stack usage validation for eBPF local functions (#566)

Stack usage for eBPF local functions was incorrectly calculated whether
or not a custom stack usage calculator was present or not. This PR fixes
that issue.

In addition to fixing that bug, this PR also changes the default eBPF
program stack size and the default stack size for local functions in
eBPF programs (8K and 256 bytes, respectively).

This PR also adds support for a stack usage calculator that does not
want to allow an eBPF program's local functions to use any stack space
at all.

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>

134 of 189 new or added lines in 6 files covered. (70.9%)

6848 of 8631 relevant lines covered (79.34%)

331210.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
80.0
custom_tests/srcs/ubpf_test_custom_local_function_stack_size_unaligned.cc
13
64.91
custom_tests/srcs/ubpf_test_custom_local_function_stack_size.cc
18
70.49
custom_tests/srcs/ubpf_test_default_local_function_stack_size.cc
20
64.91
custom_tests/srcs/ubpf_test_custom_local_function_stack_size_zero.cc
Jobs
ID Job ID Ran Files Coverage
1 run-Debug-ubuntu-latest-arm64 - 11450649499.1 22 Oct 2024 12:07AM UTC 66
61.02
GitHub Action Run
2 run-RelWithDebInfo-macos-latest-x86_64 - 11450649499.2 22 Oct 2024 12:10AM UTC 81
79.06
GitHub Action Run
3 run-Debug-ubuntu-latest-x86_64 - 11450649499.3 22 Oct 2024 12:05AM UTC 65
77.42
GitHub Action Run
4 run-Debug-macos-latest-x86_64 - 11450649499.4 22 Oct 2024 12:08AM UTC 81
79.22
GitHub Action Run
5 run-RelWithDebInfo-ubuntu-latest-arm64 - 11450649499.5 22 Oct 2024 12:08AM UTC 66
61.05
GitHub Action Run
6 run-RelWithDebInfo-ubuntu-latest-x86_64 - 11450649499.6 22 Oct 2024 12:07AM UTC 65
77.4
GitHub Action Run
Source Files on build 11450649499
  • Tree
  • List 166
  • Changed 129
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11450649499
  • a2c93ea6 on github
  • Prev Build on main (#11432504142)
  • Next Build on main (#11452753089)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc