Commit cc51514
Evgenii Shatokhin
Fix the requirements for reliable stack traces
Before this commit, it was assumed that the kernel stack traces were
reliable in the following cases:
* CONFIG_FRAME_POINTER=y (most of the Linux distros)
* CONFIG_STACK_UNWIND=y (old SuSE distros)
The current distros with the kernels 4.19+ usually have either
CONFIG_UNWINDER_FRAME_POINTER=y (Ubuntu, etc.) or
CONFIG_UNWINDER_ORC=y (RHEL 8, SuSE, Debian, ...), the stack traces
should be reliable in both cases.
Take this into account and do not fail the build of KEDR.
#49
Signed-off-by: Evgenii Shatokhin <[email protected]>1 parent 31e086a commit cc51514
File tree
2 files changed
+7
-4
lines changed- sources/cmake
- kmodule_sources/check_stack_trace
- modules
2 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
0 commit comments