aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/linux/parents_test.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/subsystem: export debug infoAleksandr Nogikh2026-01-201-2/+2
| | | | | | | | Make it possible to print more debugging information when (re)generating a subsystem list. Include parent inference details to the source code itself and add a -debug flag to list the source files assigned to each subsystem.
* pkg/subsystem: restructure the packageAleksandr Nogikh2023-02-101-35/+34
| | | | | | Remove the entity and match subpackages. Regenerate the linux.go file.
* pkg/subsystem: detect loops on the goAleksandr Nogikh2023-02-101-15/+0
| | | | This lets us reduce the amount of code in parents.go.
* pkg/subsystem: extract names after all preprocessingAleksandr Nogikh2023-02-101-1/+2
| | | | | | | | In the previous steps we eliminate some of the extracted subsystems. It helps to have fewer contention while assigning the names. As a result, we need to only rely on emails during parents trasnformations.
* pkg/subsystem: skip small subsystemsAleksandr Nogikh2023-02-101-2/+4
| | | | And regenerate the Linux rules file.
* pkg/subsystem/linux: more subsystem postprocessingAleksandr Nogikh2023-02-101-1/+56
| | | | | Instead of just assigning parents, also remove small and highly overlapping subsystems.
* pkg/subsystem/linux: determine parent-child relationsAleksandr Nogikh2023-02-101-0/+90
For that, extract a coincidence count matrix from a path coverage, then apply the following rule. Subsystem A is a child of B if both hold true: 1) More than 2/3 of paths that relate to A also relate to B. 2) B covers more directory tree entities than A.