A symbol's value won't be recalc-ed until we save config file or enter the menu where the symbol sits. So If I enable OPTIMIZE_FOR_SIZE, and search FUNCTION_GRAPH_TRACER: Symbol: FUNCTION_GRAPH_TRACER [=y] Prompt: Kernel Function Graph Tracer Defined at kernel/trace/Kconfig:140 Depends on: ... [=y] && (!X86_32 [=y] || !CC_OPTIMIZE_FOR_SIZE [=y]) ... From the dependency it should result in FUNCTION_GRAPH_TRACER=n, but it still shows FUNCTION_GRAPH_TRACER=y.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -755,6 +755,7 @@ struct symbol **sym_re_search(const char *pattern) · 754 unmodified lines | |||
| 755 | return NULL; | 755 | return NULL; |
| 756 | } | 756 | } |
| 757 | } | 757 | } |
| 758 | sym_calc_value(sym); | ||
| 758 | sym_arr[cnt++] = sym; | 759 | sym_arr[cnt++] = sym; |
| 759 | } | 760 | } |
| 760 | if (sym_arr) | 761 | if (sym_arr) |