Bluetooth: Simplify stack analysis code
Bluetooth: Simplify stack analysis code

Move the usage reports into the function that does the analysis, and
also include a percentage of the usage. To make the results more
relevant give them in terms of the "real" stack size, i.e. the stack
space minus the CSS size in the beginning.

Change-Id: Ibc0418de396e140839c9a810196fbf16df533df5
Signed-off-by: Johan Hedberg <628991c7b0a19c384f9b99c21ec330ce952bb838@intel.com>

Vudentz/zephyr,finikorg/zephyr,runchip/zephyr-cc3220,erwango/zephyr,fbsder/zephyr,runchip/zephyr-cc3200,mirzak/zephyr-os,zephyrproject-rtos/zephyr,jamesonwilliams/zephyr-kernel,pklazy/zephyr,erwango/zephyr,nashif/zephyr,explora26/zephyr,tidyjiang8/zephyr-doc,fbsder/zephyr,runchip/zephyr-cc3200,runchip/zephyr-cc3220,finikorg/zephyr,punitvara/zephyr,punitvara/zephyr,holtmann/zephyr,aceofall/zephyr-iotos,nashif/zephyr,tidyjiang8/zephyr-doc,rsalveti/zephyr,runchip/zephyr-cc3220,finikorg/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,erwango/zephyr,pklazy/zephyr,holtmann/zephyr,coldnew/zephyr-project-fork,nashif/zephyr,sharronliu/zephyr,jamesonwilliams/zephyr-kernel,explora26/zephyr,zephyriot/zephyr,aceofall/zephyr-iotos,Vudentz/zephyr,fbsder/zephyr,holtmann/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,pklazy/zephyr,Vudentz/zephyr,32bitmicro/zephyr,nashif/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,tidyjiang8/zephyr-doc,mbolivar/zephyr,bigdinotech/zephyr,fractalclone/zephyr-riscv,ldts/zephyr,galak/zephyr,tidyjiang8/zephyr-doc,fractalclone/zephyr-riscv,zephyriot/zephyr,kraj/zephyr,bboozzoo/zephyr,jamesonwilliams/zephyr-kernel,aceofall/zephyr-iotos,holtmann/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,coldnew/zephyr-project-fork,ldts/zephyr,fractalclone/zephyr-riscv,32bitmicro/zephyr,pklazy/zephyr,sharronliu/zephyr,zephyriot/zephyr,bboozzoo/zephyr,explora26/zephyr,aceofall/zephyr-iotos,fractalclone/zephyr-riscv,tidyjiang8/zephyr-doc,32bitmicro/zephyr,rsalveti/zephyr,finikorg/zephyr,explora26/zephyr,mirzak/zephyr-os,runchip/zephyr-cc3200,finikorg/zephyr,jamesonwilliams/zephyr-kernel,punitvara/zephyr,kraj/zephyr,bboozzoo/zephyr,32bitmicro/zephyr,coldnew/zephyr-project-fork,galak/zephyr,ldts/zephyr,pklazy/zephyr,runchip/zephyr-cc3200,aceofall/zephyr-iotos,32bitmicro/zephyr,Vudentz/zephyr,mbolivar/zephyr,rsalveti/zephyr,zephyriot/zephyr,bigdinotech/zephyr,nashif/zephyr,bigdinotech/zephyr,mbolivar/zephyr,mirzak/zephyr-os,zephyrproject-rtos/zephyr,coldnew/zephyr-project-fork,mbolivar/zephyr,GiulianoFranchetto/zephyr,kraj/zephyr,mirzak/zephyr-os,mbolivar/zephyr,zephyrproject-rtos/zephyr,erwango/zephyr,jamesonwilliams/zephyr-kernel,kraj/zephyr,bboozzoo/zephyr,sharronliu/zephyr,fractalclone/zephyr-riscv,holtmann/zephyr,fbsder/zephyr,ldts/zephyr,punitvara/zephyr,runchip/zephyr-cc3200,ldts/zephyr,sharronliu/zephyr,rsalveti/zephyr,runchip/zephyr-cc3220,zephyrproject-rtos/zephyr,explora26/zephyr,erwango/zephyr,punitvara/zephyr,galak/zephyr,sharronliu/zephyr,bboozzoo/zephyr,zephyriot/zephyr,coldnew/zephyr-project-fork,kraj/zephyr,bigdinotech/zephyr,mirzak/zephyr-os,runchip/zephyr-cc3220,zephyrproject-rtos/zephyr,rsalveti/zephyr,fbsder/zephyr,bigdinotech/zephyr