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 01be43f commit 666d220Copy full SHA for 666d220
tools/perf/tests/pe-file-parsing.c
@@ -37,7 +37,7 @@ static int run_dir(const char *d)
37
size_t idx;
38
39
scnprintf(filename, PATH_MAX, "%s/pe-file.exe", d);
40
- ret = filename__read_build_id(filename, &bid);
+ ret = filename__read_build_id(filename, &bid, /*block=*/true);
41
TEST_ASSERT_VAL("Failed to read build_id",
42
ret == sizeof(expect_build_id));
43
TEST_ASSERT_VAL("Wrong build_id", !memcmp(bid.data, expect_build_id,
@@ -49,7 +49,7 @@ static int run_dir(const char *d)
49
!strcmp(debuglink, expect_debuglink));
50
51
scnprintf(debugfile, PATH_MAX, "%s/%s", d, debuglink);
52
- ret = filename__read_build_id(debugfile, &bid);
+ ret = filename__read_build_id(debugfile, &bid, /*block=*/true);
53
TEST_ASSERT_VAL("Failed to read debug file build_id",
54
55
0 commit comments