mirror of
https://abf.rosa.ru/djam/kernel-6.6.git
synced 2025-02-25 11:52:46 +00:00
Disable too much debug
Example from dmesg: [Сб мар 21 13:23:34 2020] segments[0]: cf931495c0607220 [Сб мар 21 13:23:34 2020] consider slot 0 [ix=0 type=2] [Сб мар 21 13:23:34 2020] <--assoc_array_walk() = terminal_node [Сб мар 21 13:23:34 2020] -->assoc_array_insert() [Сб мар 21 13:23:34 2020] -->assoc_array_walk() [Сб мар 21 13:23:34 2020] -->assoc_array_insert_in_empty_tree() [Сб мар 21 13:23:34 2020] <--assoc_array_insert_in_empty_tree() = ok [no root] [Сб мар 21 13:23:34 2020] -->assoc_array_walk() [Сб мар 21 13:23:34 2020] -->assoc_array_apply_edit() [Сб мар 21 13:23:34 2020] -->assoc_array_rcu_cleanup() [Сб мар 21 13:23:34 2020] -->assoc_array_destroy_subtree() [Сб мар 21 13:23:34 2020] [-1] node [Сб мар 21 13:23:34 2020] Node 00000000b4f58682 [back=00000000227b36db] [Сб мар 21 13:23:34 2020] [0] free leaf [Сб мар 21 13:23:34 2020] free node
This commit is contained in:
parent
9c1eeea866
commit
99814859cf
1 changed files with 6 additions and 6 deletions
12
kernel.spec
12
kernel.spec
|
@ -11,7 +11,7 @@
|
|||
%define sublevel 26
|
||||
|
||||
# Release number. Increase this before a rebuild.
|
||||
%define rpmrel 2
|
||||
%define rpmrel 3
|
||||
%define fullrpmrel %{rpmrel}
|
||||
|
||||
%define rpmtag %{disttag}
|
||||
|
@ -1127,11 +1127,11 @@ LC_ALL=C sed -ri "s/^EXTRAVERSION.*/EXTRAVERSION = -%{flavour}-%{buildrpmrel}/"
|
|||
# but sometimes it is required to see them via a serial port when booting the kernel.
|
||||
# '#ifdef DEBUG' is used in different places for different purposes,
|
||||
# so change DEBUG to PRINTK_DEBUG in one specific place.
|
||||
%if %build_debug
|
||||
sed -i %{src_dir}/include/linux/printk.h \
|
||||
-e 's,^#ifdef DEBUG$,#if defined(DEBUG) || defined(PRINTK_DEBUG),g'
|
||||
export KCPPFLAGS="-DPRINTK_DEBUG"
|
||||
%endif
|
||||
#%if %build_debug
|
||||
#sed -i %{src_dir}/include/linux/printk.h \
|
||||
# -e 's,^#ifdef DEBUG$,#if defined(DEBUG) || defined(PRINTK_DEBUG),g'
|
||||
#export KCPPFLAGS="-DPRINTK_DEBUG"
|
||||
#%endif
|
||||
|
||||
# build the kernel
|
||||
echo "Building kernel %{kver_full}"
|
||||
|
|
Loading…
Add table
Reference in a new issue