aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/linux/path_coincidence_test.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2026-01-19 15:54:08 +0100
committerAleksandr Nogikh <nogikh@google.com>2026-01-20 08:35:12 +0000
commit75769ae79e1f7c200dfc52bd7711b2b43f88f28c (patch)
tree081441d182ac0e3d05fcdfd9d7bbbc56b6188bc5 /pkg/subsystem/linux/path_coincidence_test.go
parentfaf99a10ff35487a689ef7a183b1081da5369152 (diff)
pkg/subsystem: export debug info
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.
Diffstat (limited to 'pkg/subsystem/linux/path_coincidence_test.go')
-rw-r--r--pkg/subsystem/linux/path_coincidence_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/subsystem/linux/path_coincidence_test.go b/pkg/subsystem/linux/path_coincidence_test.go
index ac32dcd31..cc6f81d6a 100644
--- a/pkg/subsystem/linux/path_coincidence_test.go
+++ b/pkg/subsystem/linux/path_coincidence_test.go
@@ -33,7 +33,7 @@ func TestBuildCoincidenceMatrix(t *testing.T) {
"fs/fat/file.c": {},
"net/socket.c": {},
}
- matrix, err := BuildCoincidenceMatrix(fs, []*subsystem.Subsystem{vfs, ntfs, ext4, kernel}, nil)
+ matrix, _, err := BuildCoincidenceMatrix(fs, []*subsystem.Subsystem{vfs, ntfs, ext4, kernel}, nil)
assert.NoError(t, err)
// Test total counts.