aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-16 11:31:02 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-16 11:31:02 +0100
commit3de7aabbb79a6c2267f5d7ee8a8aaa83f63305b7 (patch)
tree8741d72f892f2c04271117b09b14b1bee8921ed4 /pkg
parentf9b6950728295eb8f52b05a0d9e5dccd99f93eaa (diff)
pkg/vcs: disable CONFIG_DEBUG_KOBJECT during bisection
We disabled it in configs, now also disable during bisection. This config only adds debug output. It should not be enabled at all, but it was accidentially enabled on some instances for some periods of time, and kernel is boot-broken for prolonged ranges of commits with deadlock which makes bisections take weeks.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/vcs/linux.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/vcs/linux.go b/pkg/vcs/linux.go
index cfca8d9e5..59a7b9e3b 100644
--- a/pkg/vcs/linux.go
+++ b/pkg/vcs/linux.go
@@ -170,6 +170,11 @@ func linuxDisableConfigs(config []byte, tags map[string]bool) []byte {
// pahole version v1.9 is too old, need at least v1.13
// Failed to generate BTF for vmlinux. Try to disable CONFIG_DEBUG_INFO_BTF.
"CONFIG_DEBUG_INFO_BTF": "disable-always",
+ // This config only adds debug output. It should not be enabled at all,
+ // but it was accidentially enabled on some instances for some periods of time,
+ // and kernel is boot-broken for prolonged ranges of commits with deadlock
+ // which makes bisections take weeks.
+ "CONFIG_DEBUG_KOBJECT": "disable-always",
}
for cfg, tag := range prereq {
if !tags[tag] {