diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-08-02 18:53:35 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-08-03 08:55:26 +0000 |
| commit | b95100df5e0793a76c9cadcacb15ef186ad350cd (patch) | |
| tree | 7fb7eb37f2df1bdae3474b8cfb4de6bdce39a700 /syz-ci/syz-ci.go | |
| parent | 39a91c1806bfc2087977dbe31529c34219a8aba6 (diff) | |
syz-ci: specify custom ignore lists for bisections
Make syz-ci configuration more flexible by allowing users to set the
list of commits that should never be reported as valid bisection
results.
Keep the list of such upstream Linux commits in the code in order not to
duplicate it everywhere.
Diffstat (limited to 'syz-ci/syz-ci.go')
| -rw-r--r-- | syz-ci/syz-ci.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/syz-ci/syz-ci.go b/syz-ci/syz-ci.go index e30e59929..a8f59524a 100644 --- a/syz-ci/syz-ci.go +++ b/syz-ci/syz-ci.go @@ -112,9 +112,13 @@ type Config struct { // BinDir must point to a dir that contains compilers required to build // older versions of the kernel. For linux, it needs to include several // compiler versions. - BisectBinDir string `json:"bisect_bin_dir"` - Ccache string `json:"ccache"` - Managers []*ManagerConfig `json:"managers"` + BisectBinDir string `json:"bisect_bin_dir"` + // Keys of BisectIgnore are full commit hashes that should never be reported + // in bisection results. + // Values of the map are ignored and can e.g. serve as comments. + BisectIgnore map[string]string `json:"bisect_ignore"` + Ccache string `json:"ccache"` + Managers []*ManagerConfig `json:"managers"` // Poll period for jobs in seconds (optional, defaults to 10 seconds) JobPollPeriod int `json:"job_poll_period"` // Set up a second (parallel) job processor to speed up processing. |
