You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since keys/values can be arbitrary types in bpf code, libbpfgo should also support this. Currently GetUnsafePointer() will fail if what's passed isn't a uint/int/byte slice.
We should be able to just use an unsafe.Pointer, however special care should be taken for testing with arrays, slices, maps, interfaces, deep pointers, etc...
The text was updated successfully, but these errors were encountered:
Since keys/values can be arbitrary types in bpf code, libbpfgo should also support this. Currently
GetUnsafePointer()
will fail if what's passed isn't a uint/int/byte slice.We should be able to just use an unsafe.Pointer, however special care should be taken for testing with arrays, slices, maps, interfaces, deep pointers, etc...
The text was updated successfully, but these errors were encountered: