All of lore.kernel.org
 help / color / mirror / Atom feed
* [xenomai-image PATCH v2 0/5] control applying of no-debug config
@ 2021-07-27  0:42 Hongzhan Chen
  2021-07-27  0:42 ` [xenomai-image PATCH v2 1/5] recipes-kernel: arm64_config: enable IPIPE_DEBUG for arm64 by default Hongzhan Chen
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Hongzhan Chen @ 2021-07-27  0:42 UTC (permalink / raw)
  To: xenomai

1. enable IPIPE_DEBUG uniformly for all arch by default in order to use
uniform method to control it via applying config fragment or not.
2. create common config fragment to switch debug off.
3. add control to apply config fragment or not.
4. add kas option to control applying config fragment.

Hongzhan Chen (5):
  recipes-kernel: arm64_config: enable IPIPE_DEBUG for arm64 by default
  recipes-kernel: armhf_config: enable IPIPE_DEBUG for armhf by default
  recipes-kernel: add common config fragment file to disable debug
  recipes-kernel/linux: control appyling of no debug config fragment
  Add kas option for swithing off debug

 opt-set-nodbg.yml                           | 20 ++++++++++++++++++++
 recipes-kernel/linux/files/arm64_defconfig  |  9 +++++----
 recipes-kernel/linux/files/armhf_defconfig  | 15 +++++++++++++--
 recipes-kernel/linux/files/common_nodbg.cfg |  1 +
 recipes-kernel/linux/linux-xenomai.inc      | 10 +++++++++-
 5 files changed, 48 insertions(+), 7 deletions(-)
 create mode 100644 opt-set-nodbg.yml
 create mode 100644 recipes-kernel/linux/files/common_nodbg.cfg

-- 
2.17.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [xenomai-image PATCH v2 1/5] recipes-kernel: arm64_config: enable IPIPE_DEBUG for arm64 by default
  2021-07-27  0:42 [xenomai-image PATCH v2 0/5] control applying of no-debug config Hongzhan Chen
@ 2021-07-27  0:42 ` Hongzhan Chen
  2021-07-27  0:42 ` [xenomai-image PATCH v2 2/5] recipes-kernel: armhf_config: enable IPIPE_DEBUG for armhf " Hongzhan Chen
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Hongzhan Chen @ 2021-07-27  0:42 UTC (permalink / raw)
  To: xenomai

Enable IPIPE_DEBUG for arm64 by default. We enable IPIPE_DEBUG for
all arch types uniformly by default in order to controll enabling
and disabling them via same method.

Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>
---
 recipes-kernel/linux/files/arm64_defconfig | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/recipes-kernel/linux/files/arm64_defconfig b/recipes-kernel/linux/files/arm64_defconfig
index 7634788..a010c30 100644
--- a/recipes-kernel/linux/files/arm64_defconfig
+++ b/recipes-kernel/linux/files/arm64_defconfig
@@ -191,7 +191,7 @@ CONFIG_KALLSYMS_ALL=y
 CONFIG_KALLSYMS_BASE_RELATIVE=y
 CONFIG_PRINTK=y
 CONFIG_PRINTK_NMI=y
-# CONFIG_RAW_PRINTK is not set
+CONFIG_RAW_PRINTK=y
 CONFIG_BUG=y
 CONFIG_ELF_CORE=y
 CONFIG_BASE_FULL=y
@@ -410,7 +410,6 @@ CONFIG_XENO_OPT_DEBUG_LEGACY=y
 CONFIG_XENO_OPT_DEBUG_TRACE_RELAX=y
 CONFIG_XENO_OPT_WATCHDOG=y
 CONFIG_XENO_OPT_WATCHDOG_TIMEOUT=4
-# CONFIG_XENO_TODO is not set
 
 #
 # Drivers
@@ -449,7 +448,6 @@ CONFIG_XENO_DRIVERS_CAN_BUS_ERR=y
 # CONFIG_XENO_DRIVERS_CAN_CALC_BITTIME_OLD is not set
 CONFIG_XENO_DRIVERS_CAN_VIRT=y
 # CONFIG_XENO_DRIVERS_CAN_FLEXCAN is not set
-# CONFIG_XENO_DRIVERS_CAN_PEAK_CANFD is not set
 CONFIG_XENO_DRIVERS_CAN_SJA1000=y
 CONFIG_XENO_DRIVERS_CAN_SJA1000_ISA=y
 CONFIG_XENO_DRIVERS_CAN_SJA1000_MEM=y
@@ -5907,8 +5905,11 @@ CONFIG_FRAME_POINTER=y
 CONFIG_MAGIC_SYSRQ=y
 CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
 CONFIG_MAGIC_SYSRQ_SERIAL=y
-# CONFIG_IPIPE_DEBUG is not set
+CONFIG_IPIPE_DEBUG=y
+CONFIG_IPIPE_DEBUG_CONTEXT=y
+CONFIG_IPIPE_DEBUG_INTERNAL=y
 CONFIG_HAVE_IPIPE_TRACER_SUPPORT=y
+# CONFIG_IPIPE_TRACE is not set
 CONFIG_DEBUG_KERNEL=y
 
 #
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-image PATCH v2 2/5] recipes-kernel: armhf_config: enable IPIPE_DEBUG for armhf by default
  2021-07-27  0:42 [xenomai-image PATCH v2 0/5] control applying of no-debug config Hongzhan Chen
  2021-07-27  0:42 ` [xenomai-image PATCH v2 1/5] recipes-kernel: arm64_config: enable IPIPE_DEBUG for arm64 by default Hongzhan Chen
@ 2021-07-27  0:42 ` Hongzhan Chen
  2021-07-27  0:42 ` [xenomai-image PATCH v2 3/5] recipes-kernel: add common config fragment file to disable debug Hongzhan Chen
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Hongzhan Chen @ 2021-07-27  0:42 UTC (permalink / raw)
  To: xenomai

Enable IPIPE_DEBUG for armhf by default. We enable IPIPE_DEBUG for
all arch types uniformly by default in order to controll enabling
and disabling them via same method.

Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>
---
 recipes-kernel/linux/files/armhf_defconfig | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/recipes-kernel/linux/files/armhf_defconfig b/recipes-kernel/linux/files/armhf_defconfig
index 3c42582..ef4981d 100644
--- a/recipes-kernel/linux/files/armhf_defconfig
+++ b/recipes-kernel/linux/files/armhf_defconfig
@@ -162,7 +162,7 @@ CONFIG_KALLSYMS=y
 CONFIG_KALLSYMS_BASE_RELATIVE=y
 CONFIG_PRINTK=y
 CONFIG_PRINTK_NMI=y
-# CONFIG_RAW_PRINTK is not set
+CONFIG_RAW_PRINTK=y
 CONFIG_BUG=y
 CONFIG_ELF_CORE=y
 CONFIG_BASE_FULL=y
@@ -1079,6 +1079,14 @@ CONFIG_IPIPE_CORE_APIREV=2
 CONFIG_IPIPE_WANT_APIREV_2=y
 CONFIG_IPIPE_TARGET_APIREV=2
 CONFIG_IPIPE_HAVE_HOSTRT=y
+
+#
+# CAUTION: DEBUG_LL must be selected, and properly configured for
+#
+
+#
+# RAW_PRINTK to work. Otherwise, you will get no output on raw_printk()
+#
 CONFIG_PREEMPT_NONE=y
 # CONFIG_PREEMPT_VOLUNTARY is not set
 # CONFIG_PREEMPT is not set
@@ -6820,8 +6828,11 @@ CONFIG_SECTION_MISMATCH_WARN_ONLY=y
 CONFIG_MAGIC_SYSRQ=y
 CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
 CONFIG_MAGIC_SYSRQ_SERIAL=y
-# CONFIG_IPIPE_DEBUG is not set
+CONFIG_IPIPE_DEBUG=y
+CONFIG_IPIPE_DEBUG_CONTEXT=y
+CONFIG_IPIPE_DEBUG_INTERNAL=y
 CONFIG_HAVE_IPIPE_TRACER_SUPPORT=y
+# CONFIG_IPIPE_TRACE is not set
 CONFIG_DEBUG_KERNEL=y
 
 #
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-image PATCH v2 3/5] recipes-kernel: add common config fragment file to disable debug
  2021-07-27  0:42 [xenomai-image PATCH v2 0/5] control applying of no-debug config Hongzhan Chen
  2021-07-27  0:42 ` [xenomai-image PATCH v2 1/5] recipes-kernel: arm64_config: enable IPIPE_DEBUG for arm64 by default Hongzhan Chen
  2021-07-27  0:42 ` [xenomai-image PATCH v2 2/5] recipes-kernel: armhf_config: enable IPIPE_DEBUG for armhf " Hongzhan Chen
@ 2021-07-27  0:42 ` Hongzhan Chen
  2021-07-27 10:51   ` Jan Kiszka
  2021-07-27 10:54   ` Jan Kiszka
  2021-07-27  0:42 ` [xenomai-image PATCH v2 4/5] recipes-kernel/linux: control appyling of no debug config fragment Hongzhan Chen
  2021-07-27  0:42 ` [xenomai-image PATCH v2 5/5] Add kas option for swithing off debug Hongzhan Chen
  4 siblings, 2 replies; 11+ messages in thread
From: Hongzhan Chen @ 2021-07-27  0:42 UTC (permalink / raw)
  To: xenomai

Add common config fragment file to disable debug. For performance
or latency testing and demonstration, debug switches should be off.

Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>
---
 recipes-kernel/linux/files/common_nodbg.cfg | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 recipes-kernel/linux/files/common_nodbg.cfg

diff --git a/recipes-kernel/linux/files/common_nodbg.cfg b/recipes-kernel/linux/files/common_nodbg.cfg
new file mode 100644
index 0000000..749799d
--- /dev/null
+++ b/recipes-kernel/linux/files/common_nodbg.cfg
@@ -0,0 +1 @@
+# CONFIG_IPIPE_DEBUG is not set
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-image PATCH v2 4/5] recipes-kernel/linux: control appyling of no debug config fragment
  2021-07-27  0:42 [xenomai-image PATCH v2 0/5] control applying of no-debug config Hongzhan Chen
                   ` (2 preceding siblings ...)
  2021-07-27  0:42 ` [xenomai-image PATCH v2 3/5] recipes-kernel: add common config fragment file to disable debug Hongzhan Chen
@ 2021-07-27  0:42 ` Hongzhan Chen
  2021-07-27 10:49   ` Jan Kiszka
  2021-07-27  0:42 ` [xenomai-image PATCH v2 5/5] Add kas option for swithing off debug Hongzhan Chen
  4 siblings, 1 reply; 11+ messages in thread
From: Hongzhan Chen @ 2021-07-27  0:42 UTC (permalink / raw)
  To: xenomai

For performance or latency testing and demonstration, debug switches
should be off but it is on by default.

Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>
---
 recipes-kernel/linux/linux-xenomai.inc | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-xenomai.inc b/recipes-kernel/linux/linux-xenomai.inc
index 185b60b..ff54ce2 100644
--- a/recipes-kernel/linux/linux-xenomai.inc
+++ b/recipes-kernel/linux/linux-xenomai.inc
@@ -11,9 +11,17 @@
 
 require recipes-kernel/linux/linux-custom.inc
 
+def is_nodbg_support(d):
+    dbg_ver = d.getVar('DISTRO_NODBG') or ''
+    return dbg_ver.startswith('YES') or dbg_ver == 'YES'
+
 KERNEL_DEFCONFIG ?= "${DISTRO_ARCH}_defconfig"
+KERNEL_NODBG_FRAGMENTS ?= "common_nodbg.cfg"
+KERNEL_NODBG_FRAGMENTS_append = "${@'' if is_nodbg_support(d) else ';apply=no'}"
 
-SRC_URI += "file://${KERNEL_DEFCONFIG}"
+SRC_URI += "file://${KERNEL_DEFCONFIG} \
+    file://${KERNEL_NODBG_FRAGMENTS} \
+"
 
 DEPENDS += "xenomai-kernel-source"
 KBUILD_DEPENDS += "xenomai-kernel-source"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-image PATCH v2 5/5] Add kas option for swithing off debug
  2021-07-27  0:42 [xenomai-image PATCH v2 0/5] control applying of no-debug config Hongzhan Chen
                   ` (3 preceding siblings ...)
  2021-07-27  0:42 ` [xenomai-image PATCH v2 4/5] recipes-kernel/linux: control appyling of no debug config fragment Hongzhan Chen
@ 2021-07-27  0:42 ` Hongzhan Chen
  2021-07-27 10:51   ` Jan Kiszka
  4 siblings, 1 reply; 11+ messages in thread
From: Hongzhan Chen @ 2021-07-27  0:42 UTC (permalink / raw)
  To: xenomai

For performance or latency testing and demonstration, debug switches
should be off but it is on by default.

Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>
---
 opt-set-nodbg.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 opt-set-nodbg.yml

diff --git a/opt-set-nodbg.yml b/opt-set-nodbg.yml
new file mode 100644
index 0000000..16a2fec
--- /dev/null
+++ b/opt-set-nodbg.yml
@@ -0,0 +1,20 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (C) 2021 Intel Corporation
+#
+# Authors:
+#  Hongzhan Chen <hongzhan.chen@intel.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+header:
+  version: 10
+
+# to use kernel config fragments for disabling dbg and
+# improving performance
+
+local_conf_header:
+  distro-nodbg: |
+    DISTRO_NODBG = "YES"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [xenomai-image PATCH v2 4/5] recipes-kernel/linux: control appyling of no debug config fragment
  2021-07-27  0:42 ` [xenomai-image PATCH v2 4/5] recipes-kernel/linux: control appyling of no debug config fragment Hongzhan Chen
@ 2021-07-27 10:49   ` Jan Kiszka
  0 siblings, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-07-27 10:49 UTC (permalink / raw)
  To: Hongzhan Chen, xenomai

On 27.07.21 02:42, Hongzhan Chen via Xenomai wrote:
> For performance or latency testing and demonstration, debug switches
> should be off but it is on by default.
> 
> Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>
> ---
>  recipes-kernel/linux/linux-xenomai.inc | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-kernel/linux/linux-xenomai.inc b/recipes-kernel/linux/linux-xenomai.inc
> index 185b60b..ff54ce2 100644
> --- a/recipes-kernel/linux/linux-xenomai.inc
> +++ b/recipes-kernel/linux/linux-xenomai.inc
> @@ -11,9 +11,17 @@
>  
>  require recipes-kernel/linux/linux-custom.inc
>  
> +def is_nodbg_support(d):
> +    dbg_ver = d.getVar('DISTRO_NODBG') or ''
> +    return dbg_ver.startswith('YES') or dbg_ver == 'YES'
> +
>  KERNEL_DEFCONFIG ?= "${DISTRO_ARCH}_defconfig"
> +KERNEL_NODBG_FRAGMENTS ?= "common_nodbg.cfg"
> +KERNEL_NODBG_FRAGMENTS_append = "${@'' if is_nodbg_support(d) else ';apply=no'}"
>  
> -SRC_URI += "file://${KERNEL_DEFCONFIG}"
> +SRC_URI += "file://${KERNEL_DEFCONFIG} \
> +    file://${KERNEL_NODBG_FRAGMENTS} \
> +"
>  
>  DEPENDS += "xenomai-kernel-source"
>  KBUILD_DEPENDS += "xenomai-kernel-source"
> 

How about

DISTRO_NODBG ?= "0"

SRC_URI += "${@'file://common_nodbg.cfg' if d.getVar('DISTRO_NODBG') == '1' else ''}"

?

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [xenomai-image PATCH v2 5/5] Add kas option for swithing off debug
  2021-07-27  0:42 ` [xenomai-image PATCH v2 5/5] Add kas option for swithing off debug Hongzhan Chen
@ 2021-07-27 10:51   ` Jan Kiszka
  2021-07-27 12:29     ` Bezdeka, Florian
  0 siblings, 1 reply; 11+ messages in thread
From: Jan Kiszka @ 2021-07-27 10:51 UTC (permalink / raw)
  To: Hongzhan Chen, xenomai

On 27.07.21 02:42, Hongzhan Chen via Xenomai wrote:
> For performance or latency testing and demonstration, debug switches
> should be off but it is on by default.
> 
> Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>
> ---
>  opt-set-nodbg.yml | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 opt-set-nodbg.yml
> 
> diff --git a/opt-set-nodbg.yml b/opt-set-nodbg.yml
> new file mode 100644
> index 0000000..16a2fec
> --- /dev/null
> +++ b/opt-set-nodbg.yml
> @@ -0,0 +1,20 @@
> +#
> +# Xenomai Real-Time System
> +#
> +# Copyright (C) 2021 Intel Corporation
> +#
> +# Authors:
> +#  Hongzhan Chen <hongzhan.chen@intel.com>
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +
> +header:
> +  version: 10
> +
> +# to use kernel config fragments for disabling dbg and
> +# improving performance
> +
> +local_conf_header:
> +  distro-nodbg: |
> +    DISTRO_NODBG = "YES"
> 

We tend to use "0" / "1" for bitbake boolean vars.

Furthermore, I wonder if we shouldn't switch default to no-debug and
explicitly turn debugging on in our CI/testing.

In any case, some short hint on this control in the README would be good.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [xenomai-image PATCH v2 3/5] recipes-kernel: add common config fragment file to disable debug
  2021-07-27  0:42 ` [xenomai-image PATCH v2 3/5] recipes-kernel: add common config fragment file to disable debug Hongzhan Chen
@ 2021-07-27 10:51   ` Jan Kiszka
  2021-07-27 10:54   ` Jan Kiszka
  1 sibling, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-07-27 10:51 UTC (permalink / raw)
  To: Hongzhan Chen, xenomai

On 27.07.21 02:42, Hongzhan Chen via Xenomai wrote:
> Add common config fragment file to disable debug. For performance
> or latency testing and demonstration, debug switches should be off.
> 
> Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>
> ---
>  recipes-kernel/linux/files/common_nodbg.cfg | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 recipes-kernel/linux/files/common_nodbg.cfg
> 
> diff --git a/recipes-kernel/linux/files/common_nodbg.cfg b/recipes-kernel/linux/files/common_nodbg.cfg
> new file mode 100644
> index 0000000..749799d
> --- /dev/null
> +++ b/recipes-kernel/linux/files/common_nodbg.cfg
> @@ -0,0 +1 @@
> +# CONFIG_IPIPE_DEBUG is not set
> 

Applied to next up to this patch.

Thanks,
Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [xenomai-image PATCH v2 3/5] recipes-kernel: add common config fragment file to disable debug
  2021-07-27  0:42 ` [xenomai-image PATCH v2 3/5] recipes-kernel: add common config fragment file to disable debug Hongzhan Chen
  2021-07-27 10:51   ` Jan Kiszka
@ 2021-07-27 10:54   ` Jan Kiszka
  1 sibling, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-07-27 10:54 UTC (permalink / raw)
  To: Hongzhan Chen, xenomai

On 27.07.21 02:42, Hongzhan Chen via Xenomai wrote:
> Add common config fragment file to disable debug. For performance
> or latency testing and demonstration, debug switches should be off.
> 
> Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>
> ---
>  recipes-kernel/linux/files/common_nodbg.cfg | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 recipes-kernel/linux/files/common_nodbg.cfg
> 
> diff --git a/recipes-kernel/linux/files/common_nodbg.cfg b/recipes-kernel/linux/files/common_nodbg.cfg
> new file mode 100644
> index 0000000..749799d
> --- /dev/null
> +++ b/recipes-kernel/linux/files/common_nodbg.cfg
> @@ -0,0 +1 @@
> +# CONFIG_IPIPE_DEBUG is not set
> 

What about CONFIG_XENO_OPT_DEBUG* at least?

Other kernel debug switches may also be added here eventually.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [xenomai-image PATCH v2 5/5] Add kas option for swithing off debug
  2021-07-27 10:51   ` Jan Kiszka
@ 2021-07-27 12:29     ` Bezdeka, Florian
  0 siblings, 0 replies; 11+ messages in thread
From: Bezdeka, Florian @ 2021-07-27 12:29 UTC (permalink / raw)
  To: hongzhan.chen, jan.kiszka, xenomai

On Tue, 2021-07-27 at 12:51 +0200, Jan Kiszka via Xenomai wrote:
> On 27.07.21 02:42, Hongzhan Chen via Xenomai wrote:
> > For performance or latency testing and demonstration, debug switches
> > should be off but it is on by default.
> > 
> > Signed-off-by: Hongzhan Chen <hongzhan.chen@intel.com>
> > ---
> >  opt-set-nodbg.yml | 20 ++++++++++++++++++++
> >  1 file changed, 20 insertions(+)
> >  create mode 100644 opt-set-nodbg.yml
> > 
> > diff --git a/opt-set-nodbg.yml b/opt-set-nodbg.yml
> > new file mode 100644
> > index 0000000..16a2fec
> > --- /dev/null
> > +++ b/opt-set-nodbg.yml
> > @@ -0,0 +1,20 @@
> > +#
> > +# Xenomai Real-Time System
> > +#
> > +# Copyright (C) 2021 Intel Corporation
> > +#
> > +# Authors:
> > +#  Hongzhan Chen <hongzhan.chen@intel.com>
> > +#
> > +# SPDX-License-Identifier: MIT
> > +#
> > +
> > +header:
> > +  version: 10
> > +
> > +# to use kernel config fragments for disabling dbg and
> > +# improving performance
> > +
> > +local_conf_header:
> > +  distro-nodbg: |
> > +    DISTRO_NODBG = "YES"
> > 
> 
> We tend to use "0" / "1" for bitbake boolean vars.
> 
> Furthermore, I wonder if we shouldn't switch default to no-debug and
> explicitly turn debugging on in our CI/testing.

I thought the same. Images generated by xenomai-images are often used
as reference images, so I assume they should be "production ready" by
default and CI could enable debug builds.

> 
> In any case, some short hint on this control in the README would be good.
> 
> Jan
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-07-27 12:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27  0:42 [xenomai-image PATCH v2 0/5] control applying of no-debug config Hongzhan Chen
2021-07-27  0:42 ` [xenomai-image PATCH v2 1/5] recipes-kernel: arm64_config: enable IPIPE_DEBUG for arm64 by default Hongzhan Chen
2021-07-27  0:42 ` [xenomai-image PATCH v2 2/5] recipes-kernel: armhf_config: enable IPIPE_DEBUG for armhf " Hongzhan Chen
2021-07-27  0:42 ` [xenomai-image PATCH v2 3/5] recipes-kernel: add common config fragment file to disable debug Hongzhan Chen
2021-07-27 10:51   ` Jan Kiszka
2021-07-27 10:54   ` Jan Kiszka
2021-07-27  0:42 ` [xenomai-image PATCH v2 4/5] recipes-kernel/linux: control appyling of no debug config fragment Hongzhan Chen
2021-07-27 10:49   ` Jan Kiszka
2021-07-27  0:42 ` [xenomai-image PATCH v2 5/5] Add kas option for swithing off debug Hongzhan Chen
2021-07-27 10:51   ` Jan Kiszka
2021-07-27 12:29     ` Bezdeka, Florian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.