Lines Matching refs:entries
19 entries := target.ParseLog([]byte(execLog))
20 if len(entries) != 1 {
21 t.Fatalf("got %v programs, want 1", len(entries))
23 ent := entries[0]
49 entries := target.ParseLog([]byte(execLog))
50 if len(entries) != 5 {
51 for i, ent := range entries {
54 t.Fatalf("got %v programs, want 5", len(entries))
57 for _, ent := range entries {
62 if entries[0].Proc != 0 ||
63 entries[1].Proc != 1 ||
64 entries[2].Proc != 2 ||
65 entries[3].Proc != 33 ||
66 entries[4].Proc != 9 {
69 for i, ent := range entries {
74 if s := entries[0].P.String(); s != "getpid-gettid" {
77 if s := entries[1].P.String(); s != "getpid-gettid-munlockall" {
80 if s := entries[2].P.String(); s != "getpid-gettid" {
83 if s := entries[3].P.String(); s != "gettid-getpid" {
86 if s := entries[4].P.String(); s != "munlockall" {
121 entries := target.ParseLog([]byte(execLog))
122 if len(entries) != 1 {
123 t.Fatalf("got %v programs, want 1", len(entries))
125 ent := entries[0]