[LU-12323] save_stack_trace_tsk is not exported on arm architectures Created: 21/May/19 Updated: 20/Jun/19 Resolved: 01/Jun/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Chris Horn | Assignee: | Yang Sheng |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | arm | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
libcfs module needs save_stack_trace_tsk symbol: nm libcfs.ko | grep save_stack_trace_tsk
U save_stack_trace_tsk
Added in 2.12 commit: commit afedf9343686504c89f2e28cf6133540166f2347
Author: Yang Sheng <ys@whamcloud.com>
Date: Wed Aug 8 00:24:19 2018 +0800
LU-11062 libcfs: use save_stack_trace for stack dump
However, this symbol is not exported on arm architectures: *hornc@cflosbld09 sle-cray $ grep save_stack_trace_tsk ./arch/arm{,64}/kernel/stacktrace.c | grep EXPORT
*hornc@cflosbld09 sle-cray $
In the above excerpt I'm checking the SLES 15 4.12.14-25.22 kernel. I'm not yet aware of any other kernels where arm architectures export this symbol. |
| Comments |
| Comment by James A Simmons [ 21/May/19 ] |
|
Looks like you need to use save_stack_trace() instead. |
| Comment by Gerrit Updater [ 22/May/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/34937 |
| Comment by Gerrit Updater [ 01/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34937/ |
| Comment by Peter Jones [ 01/Jun/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 06/Jun/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35085 |
| Comment by Gerrit Updater [ 20/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35085/ |