We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 025f0f2 commit ef7d704Copy full SHA for ef7d704
elf_reader.go
@@ -1477,6 +1477,7 @@ func (ec *elfCode) loadStructOpsMaps() error {
1477
Name: mapName,
1478
Type: StructOpsMap,
1479
Key: &btf.Int{Size: 4},
1480
+ KeySize: 4,
1481
Value: userType,
1482
Flags: flags,
1483
MaxEntries: 1,
elf_reader_test.go
@@ -955,6 +955,7 @@ func TestStructOps(t *testing.T) {
955
956
Flags: sys.BPF_F_LINK,
957
958
959
Value: &btf.Struct{
960
Name: "bpf_testmod_ops",
961
Size: 24,
0 commit comments