1
0
Fork 0
remarkable-linux/arch/arc
Alexey Brodkin 49cacd2b68 arc: unwind: warn only once if DW2_UNWIND is disabled
[ Upstream commit 9bd54517ee ]

If CONFIG_ARC_DW2_UNWIND is disabled every time arc_unwind_core()
gets called following message gets printed in debug console:
----------------->8---------------
CONFIG_ARC_DW2_UNWIND needs to be enabled
----------------->8---------------

That message makes sense if user indeed wants to see a backtrace or
get nice function call-graphs in perf but what if user disabled
unwinder for the purpose? Why pollute his debug console?

So instead we'll warn user about possibly missing feature once and
let him decide if that was what he or she really wanted.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: stable@vger.kernel.org
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-07-10 22:27:13 -04:00
..
boot ARC: perf: Rename DT binding to not confuse with power mgmt 2015-04-20 18:27:36 +05:30
configs ARC: [nsimosci] Update defconfig 2015-04-13 15:14:56 +05:30
include ARC: Make ARC bitops "safer" (add anti-optimization) 2015-08-10 12:21:57 -07:00
kernel arc: unwind: warn only once if DW2_UNWIND is disabled 2016-07-10 22:27:13 -04:00
lib ARC: switch to generic ENTRY/END assembler annotations 2014-03-26 14:31:28 +05:30
mm ARC: inline cache flush toggle helpers 2015-05-11 11:21:41 +05:30
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-arcfpga ARC: [arcfpga] Get rid of ARC_BOARD_ANGEL4 and ARC_BOARD_ML509 2014-10-13 14:46:14 +05:30
plat-tb10x ARC: [plat*] move code out of .init_machine into common 2014-10-13 14:46:13 +05:30
Kbuild ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
Kconfig ARC: add power management options 2014-11-03 18:05:43 +05:30
Kconfig.debug ARC: With earlycon in use, retire EARLY_PRINTK 2015-05-11 11:20:21 +05:30
Makefile ARC: unwind: ensure that .debug_frame is generated (vs. .eh_frame) 2016-07-10 22:27:12 -04:00