Skip to content

Commit fac6ecc

Browse files
fix: integration test data of partially symbolized profile (#4446)
1 parent 2b36123 commit fac6ecc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pkg/test/integration/symbolization_test.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ Mappings
196196
Value: []int64{3},
197197
},
198198
}
199+
p.Function = []*profile.Function{
200+
f1,
201+
}
199202

200203
return p
201204
},
@@ -207,10 +210,10 @@ cpu/nanoseconds[dflt]
207210
3: 1 2
208211
100: 1
209212
Locations
210-
1: 0x1500 M=1 symbolized_func src.c:239:0 s=0()
211-
2: 0x3c5a M=1 atoll_b :0:0 s=0()
213+
1: 0x0 M=1 symbolized_func src.c:239:0 s=0()
214+
2: 0x0 M=1 atoll_b :0:0 s=0()
212215
Mappings
213-
1: 0x0/0x1000000/0x0 libfoo.so 2fa2055ef20fabc972d5751147e093275514b142 [FN]
216+
1: 0x0/0x0/0x0 libfoo.so 2fa2055ef20fabc972d5751147e093275514b142 [FN]
214217
`,
215218
skip: true, // TODO fix the testdata or symbolization
216219
},

0 commit comments

Comments
 (0)