Commit 0e5464f
committed
[bcc] Support for new
iovisor/bcc@ffff0ed
a new parameter was added to control the attach type.
Subsequently, in
iovisor/bcc@815d1b8
, `-1` was used to signal the default behaviour.
This change adds this new parameter to the call to `C.bcc_func_load`
when LIBBCC_VERSION_CODE is greater or equal than 0.25.0, the next version to
include the aforementioned change.
Test plan:
Against v0.25.0 is being tested as part of this project CI.
also ran against the current v0.20.0 and ran CI: https://github.com/chantra/gobpf/runs/7436803048bcc_func_load signature.1 parent 5da0f6f commit 0e5464f
1 file changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
34 | 57 | | |
35 | 58 | | |
36 | 59 | | |
| |||
227 | 250 | | |
228 | 251 | | |
229 | 252 | | |
230 | | - | |
| 253 | + | |
231 | 254 | | |
232 | 255 | | |
233 | 256 | | |
| |||
0 commit comments