diff options
| -rw-r--r-- | tools/perf/util/probe-finder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/probe-finder.c b/tools/perf/util/probe-finder.c index c09e0a9fdf4c..f0692737ebf1 100644 --- a/tools/perf/util/probe-finder.c +++ b/tools/perf/util/probe-finder.c | |||
| @@ -1357,10 +1357,10 @@ int debuginfo__find_probe_point(struct debuginfo *self, unsigned long addr, | |||
| 1357 | goto post; | 1357 | goto post; |
| 1358 | } | 1358 | } |
| 1359 | 1359 | ||
| 1360 | fname = dwarf_decl_file(&spdie); | ||
| 1360 | if (addr == (unsigned long)baseaddr) { | 1361 | if (addr == (unsigned long)baseaddr) { |
| 1361 | /* Function entry - Relative line number is 0 */ | 1362 | /* Function entry - Relative line number is 0 */ |
| 1362 | lineno = baseline; | 1363 | lineno = baseline; |
| 1363 | fname = dwarf_decl_file(&spdie); | ||
| 1364 | goto post; | 1364 | goto post; |
| 1365 | } | 1365 | } |
| 1366 | 1366 | ||
