@@ -299,7 +299,7 @@ func TestCompactEncoder_KprobeBPFEventToString(t *testing.T) {
299
299
},
300
300
}})
301
301
assert .NoError (t , err )
302
- assert .Equal (t , "🐝 bpf_check kube-system/tetragon /usr/bin/bpftool " , result )
302
+ assert .Equal (t , "🐝 bpf_load kube-system/tetragon /usr/bin/bpftool " , result )
303
303
304
304
// bpf with args
305
305
result , err = p .EventToString (& tetragon.GetEventsResponse {
@@ -326,7 +326,7 @@ func TestCompactEncoder_KprobeBPFEventToString(t *testing.T) {
326
326
},
327
327
}})
328
328
assert .NoError (t , err )
329
- assert .Equal (t , "🐝 bpf_check kube-system/tetragon /usr/bin/bpftool BPF_PROG_TYPE_KPROBE amazing-program instruction count 2048" , result )
329
+ assert .Equal (t , "🐝 bpf_load kube-system/tetragon /usr/bin/bpftool BPF_PROG_TYPE_KPROBE amazing-program instruction count 2048" , result )
330
330
}
331
331
332
332
func TestCompactEncoder_KprobePerfEventAllocEventToString (t * testing.T ) {
@@ -394,7 +394,7 @@ func TestCompactEncoder_KprobeBPFMapAllocEventToString(t *testing.T) {
394
394
},
395
395
}})
396
396
assert .NoError (t , err )
397
- assert .Equal (t , "🗺 bpf_map_alloc kube-system/tetragon /usr/bin/bpftool " , result )
397
+ assert .Equal (t , "🗺 bpf_map_create kube-system/tetragon /usr/bin/bpftool " , result )
398
398
399
399
// bpf map with args
400
400
result , err = p .EventToString (& tetragon.GetEventsResponse {
@@ -423,7 +423,7 @@ func TestCompactEncoder_KprobeBPFMapAllocEventToString(t *testing.T) {
423
423
},
424
424
}})
425
425
assert .NoError (t , err )
426
- assert .Equal (t , "🗺 bpf_map_alloc kube-system/tetragon /usr/bin/bpftool BPF_MAP_TYPE_HASH amazing-map key size 8 value size 8 max entries 1024" , result )
426
+ assert .Equal (t , "🗺 bpf_map_create kube-system/tetragon /usr/bin/bpftool BPF_MAP_TYPE_HASH amazing-map key size 8 value size 8 max entries 1024" , result )
427
427
}
428
428
429
429
func TestCompactEncoder_Encode (t * testing.T ) {
0 commit comments