Whamcloud - gitweb
LU-12400 libcfs: save_stack_trace_tsk if ARCH_STACKWALK 39/35239/3
authorShaun Tancheff <stancheff@cray.com>
Mon, 15 Jul 2019 17:30:43 +0000 (12:30 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 20 Jul 2019 18:38:36 +0000 (18:38 +0000)
commitb49ce7aea81e22d7fa2af15744456a7dd751b973
tree20a6399b7af7071b46c461c66bd70dbbd35eedb4
parenta9be63cbb4764b0ad55a749ecb0222318778b233
LU-12400 libcfs: save_stack_trace_tsk if ARCH_STACKWALK

Along with CONFIG_ARCH_STACKWALK save_stack_trace_tsk is not
directly available. Try using symbol_get() to acquire it.

Linux-commit: 214d8ca6ee854f696f75e75511fe66b409e656db

Test-Parameters: trivial
Cray-bug-id: LUS-7600
Signed-off-by: Shaun Tancheff <stancheff@cray.com>
Change-Id: I923b718eadc6c58fa2676a6d2fbd48523c615f62
Reviewed-on: https://review.whamcloud.com/35239
Reviewed-by: Chris Horn <hornc@cray.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/linux/linux-debug.c