@@ -359,28 +359,14 @@ config PUNIT_ATOM_DEBUG
359
359
360
360
choice
361
361
prompt "Choose kernel unwinder"
362
- default FRAME_POINTER_UNWINDER
362
+ default UNWINDER_ORC if X86_64
363
+ default UNWINDER_FRAME_POINTER if X86_32
363
364
---help---
364
365
This determines which method will be used for unwinding kernel stack
365
366
traces for panics, oopses, bugs, warnings, perf, /proc/<pid>/stack,
366
367
livepatch, lockdep, and more.
367
368
368
- config FRAME_POINTER_UNWINDER
369
- bool "Frame pointer unwinder"
370
- select FRAME_POINTER
371
- ---help---
372
- This option enables the frame pointer unwinder for unwinding kernel
373
- stack traces.
374
-
375
- The unwinder itself is fast and it uses less RAM than the ORC
376
- unwinder, but the kernel text size will grow by ~3% and the kernel's
377
- overall performance will degrade by roughly 5-10%.
378
-
379
- This option is recommended if you want to use the livepatch
380
- consistency model, as this is currently the only way to get a
381
- reliable stack trace (CONFIG_HAVE_RELIABLE_STACKTRACE).
382
-
383
- config ORC_UNWINDER
369
+ config UNWINDER_ORC
384
370
bool "ORC unwinder"
385
371
depends on X86_64
386
372
select STACK_VALIDATION
@@ -396,7 +382,22 @@ config ORC_UNWINDER
396
382
Enabling this option will increase the kernel's runtime memory usage
397
383
by roughly 2-4MB, depending on your kernel config.
398
384
399
- config GUESS_UNWINDER
385
+ config UNWINDER_FRAME_POINTER
386
+ bool "Frame pointer unwinder"
387
+ select FRAME_POINTER
388
+ ---help---
389
+ This option enables the frame pointer unwinder for unwinding kernel
390
+ stack traces.
391
+
392
+ The unwinder itself is fast and it uses less RAM than the ORC
393
+ unwinder, but the kernel text size will grow by ~3% and the kernel's
394
+ overall performance will degrade by roughly 5-10%.
395
+
396
+ This option is recommended if you want to use the livepatch
397
+ consistency model, as this is currently the only way to get a
398
+ reliable stack trace (CONFIG_HAVE_RELIABLE_STACKTRACE).
399
+
400
+ config UNWINDER_GUESS
400
401
bool "Guess unwinder"
401
402
depends on EXPERT
402
403
---help---
@@ -411,7 +412,7 @@ config GUESS_UNWINDER
411
412
endchoice
412
413
413
414
config FRAME_POINTER
414
- depends on !ORC_UNWINDER && !GUESS_UNWINDER
415
+ depends on !UNWINDER_ORC && !UNWINDER_GUESS
415
416
bool
416
417
417
418
endmenu
0 commit comments