# SPDX-License-Identifier: GPL-2.0-or-later # # parameters for the stalld service # # list of cpus to monitor (default: all online) # ex: CLIST="-c 1,2,5" CLIST= # Aggressive mode # ex: AGGR=-A AGGR= # Period parameter for SCHED_DEADLINE in nanoseconds # ex: BP="-p 1000000000" BP="-p 1000000000" # Runtime parameter for SCHED_DEADLINE in nanoseconds # ex: BR="-r 20000" BR="-r 20000" # Duration parameter for SCHED_DEADLINE in seconds # ex: BD="-d 3" BD="-d 3" # Ignore tasks # if there are threads by the name thread1,thread2 # that need be ignored, populate IT as shown below # IT="-i thread.*", multiple regexes must be comma # separated without any whitespace between them IT= # Ignore processes # if there are processes by the name proc1,proc2 # that need be ignored, populate IP as shown below # IT="-I proc.*", multiple regexes must be comma # separated without any whitespace between them IP= # Starving Threshold in seconds # this value the time the thread must be kept ready but not # actually run to decide that the thread is starving # ex: THRESH="-t 60" THRESH="-t 20" # Logging options # # Set logging to be some combination of: # --log_only # --log_kmsg # --log_syslog # or Nothing (default) # ex: LOGONLY=--log_only LOGGING= # Run in the foreground # ex: FG=--foreground # note: when using this should change the service Type to be simple FG=--foreground # Write a pidfile # ex: PF=--pidfile /run/stalld.pid PF="--pidfile /run/stalld/stalld.pid" # select the backend to run using the '-b' option # options are: # -b sched_debug # parse the debugfs sched/debug file # -b queue_track # use the BPF backend to directly map runqueue state BE=