Commit e7c70ee
perf probe: Fix error message for failing to find line range
With --lines option, if perf-probe fails to find the specified line, it
warns as "Debuginfo analysis failed." but this misleads user as the
debuginfo is broken.
Fix this message to "Specified source line(LINESPEC) is not found." so
that user can understand the error correctly.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Alexander Lobakin <aleksander.lobakin@intel.com>
Cc: Dima Kogan <dima@secretsauce.net>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Link: https://lore.kernel.org/r/173099113381.2431889.16263147678401426107.stgit@mhiramat.roam.corp.google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>1 parent fe4f9b4 commit e7c70ee
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1039 | 1039 | | |
1040 | 1040 | | |
1041 | 1041 | | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
1042 | 1053 | | |
1043 | 1054 | | |
1044 | 1055 | | |
| |||
1071 | 1082 | | |
1072 | 1083 | | |
1073 | 1084 | | |
| 1085 | + | |
| 1086 | + | |
1074 | 1087 | | |
1075 | 1088 | | |
1076 | 1089 | | |
1077 | 1090 | | |
1078 | 1091 | | |
1079 | 1092 | | |
1080 | 1093 | | |
1081 | | - | |
| 1094 | + | |
| 1095 | + | |
1082 | 1096 | | |
1083 | 1097 | | |
1084 | 1098 | | |
| |||
0 commit comments