diff options
Diffstat (limited to 'tools/perf/tests/code-reading.c')
-rw-r--r-- | tools/perf/tests/code-reading.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/code-reading.c b/tools/perf/tests/code-reading.c index 28bee6285f5d..0c7b052cead2 100644 --- a/tools/perf/tests/code-reading.c +++ b/tools/perf/tests/code-reading.c | |||
@@ -138,7 +138,7 @@ static int read_object_code(u64 addr, size_t len, u8 cpumode, | |||
138 | pr_debug("Reading object code for memory address: %#"PRIx64"\n", addr); | 138 | pr_debug("Reading object code for memory address: %#"PRIx64"\n", addr); |
139 | 139 | ||
140 | thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, addr, | 140 | thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, addr, |
141 | &al); | 141 | &al, NULL); |
142 | if (!al.map || !al.map->dso) { | 142 | if (!al.map || !al.map->dso) { |
143 | pr_debug("thread__find_addr_map failed\n"); | 143 | pr_debug("thread__find_addr_map failed\n"); |
144 | return -1; | 144 | return -1; |