From 75769ae79e1f7c200dfc52bd7711b2b43f88f28c Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 19 Jan 2026 15:54:08 +0100 Subject: 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. --- pkg/subsystem/linux/path_coincidence_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/subsystem/linux/path_coincidence_test.go') 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. -- cgit mrf-deployment