aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/code-reading.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/code-reading.c')
-rw-r--r--tools/perf/tests/code-reading.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/code-reading.c b/tools/perf/tests/code-reading.c
index 8e0943b966d7..eec1421a7e6b 100644
--- a/tools/perf/tests/code-reading.c
+++ b/tools/perf/tests/code-reading.c
@@ -147,7 +147,7 @@ static int read_object_code(u64 addr, size_t len, u8 cpumode,
147 pr_debug("Reading object code for memory address: %#"PRIx64"\n", addr); 147 pr_debug("Reading object code for memory address: %#"PRIx64"\n", addr);
148 148
149 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, addr, 149 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, addr,
150 &al, NULL); 150 &al);
151 if (!al.map || !al.map->dso) { 151 if (!al.map || !al.map->dso) {
152 pr_debug("thread__find_addr_map failed\n"); 152 pr_debug("thread__find_addr_map failed\n");
153 return -1; 153 return -1;