Manuel Traut
c04e32e911
scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE
...
At least for ARM64 kernels compiled with the crosstoolchain from
Debian/stretch or with the toolchain from kernel.org the line number is
not decoded correctly by 'decode_stacktrace.sh':
$ echo "[ 136.513051] f1+0x0/0xc [kcrash]" | \
CROSS_COMPILE=/opt/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- \
./scripts/decode_stacktrace.sh /scratch/linux-arm64/vmlinux \
/scratch/linux-arm64 \
/nfs/debian/lib/modules/4.20.0-devel
[ 136.513051] f1 (/linux/drivers/staging/kcrash/kcrash.c:68) kcrash
If addr2line from the toolchain is used the decoded line number is correct:
[ 136.513051] f1 (/linux/drivers/staging/kcrash/kcrash.c:57) kcrash
Link: http://lkml.kernel.org/r/20190527083425.3763-1-manut@linutronix.de
Signed-off-by: Manuel Traut <manut@linutronix.de>
Acked-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-06-13 17:34:56 -10:00
..
2019-04-19 14:21:43 +02:00
2019-05-21 10:50:46 +02:00
2019-06-05 17:30:27 +02:00
2019-06-05 17:37:17 +02:00
2019-05-31 10:26:05 -07:00
2019-06-01 15:51:31 -07:00
2019-05-30 11:26:35 -07:00
2019-06-05 02:33:10 +09:00
2017-03-28 16:16:52 +02:00
2019-03-28 23:46:56 +09:00
2019-06-05 02:33:10 +09:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:39 -07:00
2018-12-22 00:37:52 +09:00
2019-03-14 02:39:11 +09:00
2019-05-24 17:27:11 +02:00
2018-07-18 01:18:05 +09:00
2018-12-28 12:11:44 -08:00
2019-06-05 17:37:11 +02:00
2019-05-13 01:12:45 +02:00
2018-06-28 13:36:39 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:39 -07:00
2019-05-22 14:54:49 -05:00
2019-06-05 02:33:10 +09:00
2019-02-19 21:27:53 +01:00
2017-11-02 11:10:55 +01:00
2019-03-04 22:34:54 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-14 08:58:56 +09:00
2017-11-02 11:10:55 +01:00
2019-05-24 17:36:42 +02:00
2016-10-11 15:06:30 -07:00
2019-06-13 17:34:56 -10:00
2018-12-28 12:11:44 -08:00
2018-09-09 09:14:07 +09:00
2017-11-02 11:10:55 +01:00
2019-05-03 06:45:22 -06:00
2019-05-30 11:29:53 -07:00
2019-06-05 17:37:07 +02:00
2015-09-25 16:31:45 +01:00
2015-04-15 14:01:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:10 +02:00
2018-11-18 10:15:09 -08:00
2018-03-26 02:01:24 +09:00
2017-10-23 08:01:37 -06:00
2019-01-06 09:46:51 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-04 22:35:04 +09:00
2018-06-08 18:56:00 +09:00
2018-06-25 23:21:13 +09:00
2018-12-19 23:41:36 +09:00
2018-12-01 23:13:14 +09:00
2019-05-24 17:36:45 +02:00
2018-08-22 10:52:48 -07:00
2019-05-30 11:26:39 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2017-11-02 11:10:55 +01:00
2016-02-26 15:30:20 +00:00
2019-03-10 17:48:21 -07:00
2019-06-08 00:38:47 +09:00
2019-05-21 10:50:46 +02:00
2019-01-16 15:04:01 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:39 -07:00
2017-11-02 11:10:55 +01:00
2019-05-08 12:25:12 -07:00
2019-02-27 21:40:09 +09:00
2019-03-17 12:56:32 +09:00
2019-05-08 12:25:12 -07:00
2018-08-09 21:51:17 +09:00
2017-11-14 18:25:40 -08:00
2019-05-18 11:49:53 +09:00
2019-03-04 09:29:41 -08:00
2019-01-06 09:46:51 +09:00
2019-05-18 11:49:57 +09:00
2019-03-05 21:07:13 -08:00
2019-05-21 10:50:46 +02:00
2019-05-22 09:01:01 -05:00
2019-04-02 23:28:04 +09:00
2019-03-17 12:56:31 +09:00
2019-04-11 23:11:51 +09:00
2018-07-06 22:04:03 +09:00
2019-05-06 11:12:09 -07:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:10 +02:00
2019-01-28 09:11:17 +09:00
2019-04-02 23:27:38 +09:00
2015-06-23 13:35:47 +09:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2019-05-21 08:54:05 +09:00
2018-03-26 02:01:19 +09:00
2019-05-30 11:29:23 -07:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2014-06-10 00:04:06 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:10 +02:00
2019-06-05 17:37:10 +02:00
2019-05-30 11:26:39 -07:00
2018-11-21 23:57:33 +09:00
2019-06-05 17:37:17 +02:00
2017-02-10 12:43:47 +11:00
2019-06-05 17:37:10 +02:00
2019-06-05 17:37:10 +02:00
2018-12-28 12:11:44 -08:00
2019-06-01 15:51:31 -07:00
2019-03-07 18:31:59 -08:00
2019-05-31 08:34:32 -07:00
2018-05-04 06:21:06 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-09-05 08:12:09 -06:00
2019-05-21 10:50:45 +02:00
2018-11-30 14:45:01 -08:00
2019-01-22 13:34:35 +01:00
2017-11-02 11:10:55 +01:00
2014-08-20 16:03:45 +02:00