aboutsummaryrefslogtreecommitdiffstats
path: root/prog
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-10-22 10:22:20 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-10-24 09:34:38 +0000
commit3fd4a86f3f8adfcfba5c642babd90bb4f5eecd3c (patch)
treec1a275b4a342ce0779c49f5a1938d07c209629a9 /prog
parent0d144d1a990dd507ca7c595b21a5fa13d22161a0 (diff)
dashboard/config/linux: increase number of devices to 32
Diffstat (limited to 'prog')
-rw-r--r--prog/types.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/prog/types.go b/prog/types.go
index d04b901ac..0d6fa1596 100644
--- a/prog/types.go
+++ b/prog/types.go
@@ -563,6 +563,8 @@ type ProcType struct {
}
const (
+ // Some aspects of the linux kernel configs also know about this const,
+ // e.g. they create that many devices of various types (usually these parameters are in CMDLINE).
MaxPids = 32
procDefaultValue = 0xffffffffffffffff // special value denoting 0 for all procs
)