From 24713201aebb62ca96d16935f0a1418ca3781ea1 Mon Sep 17 00:00:00 2001 From: Gerlando Falauto Date: Thu, 15 May 2025 16:06:52 +0200 Subject: [PATCH 1/2] chore(ignorelist): ignore 6.12 aarch64 kernels for 13.5.0 prevent the following errors: /code/sysdig-rw/bpf/fillers.h:6874:17: error: unterminated function-like macro invocation time.tv_nsec = _READ((inode->i_ctime_nsec); --- agent_ignorelist.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/agent_ignorelist.yaml b/agent_ignorelist.yaml index caecc13..f846415 100644 --- a/agent_ignorelist.yaml +++ b/agent_ignorelist.yaml @@ -2,6 +2,7 @@ matchers: redhat: ^(?P[0-9]\.[0-9]+\.[0-9]+)-(?P[0-9]+)(?P(\.[0-9]+)*)\.(?Pel.*)\.(?P[a-z0-9-_]+)$ generic: ^(?P[0-9])\.(?P[0-9]+)\..* + generic_aarch64: ^(?P[0-9])\.(?P[0-9]+)\..*\.aarch64$ ignorelist: - description: "Kernel 6.7 on agent <= 12.19.0" @@ -88,3 +89,9 @@ ignorelist: probe_kinds: [ legacy_ebpf ] matcher: generic skip_if: "{{ major|int == 6 and minor|int >= 11 }}" + + - description: "kernel 6.12...aarch64 error: unterminated function-like macro invocation time.tv_nsec = _READ((inode->i_ctime_nsec);" + probe_versions: [ 13.5.0 ] + probe_kinds: [ legacy_ebpf ] + matcher: generic_aarch64 + skip_if: "{{ (major|int > 6) or (major|int == 6 and minor|int >= 12) }}" From 2552f6a2b2c00cb3856ed1b605b265fc3dbec9c8 Mon Sep 17 00:00:00 2001 From: Gerlando Falauto Date: Thu, 15 May 2025 16:39:34 +0200 Subject: [PATCH 2/2] fix(ignorelist): fix allowed matchers pattern --- probe_builder/builder/ignorelist.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/probe_builder/builder/ignorelist.schema.json b/probe_builder/builder/ignorelist.schema.json index afd0b1f..a7f784d 100644 --- a/probe_builder/builder/ignorelist.schema.json +++ b/probe_builder/builder/ignorelist.schema.json @@ -6,7 +6,7 @@ "type": "object", "description": "list of matches", "patternProperties": { - "^[a-z_]*$": { + "^[a-z][a-z0-9_]*$": { "type": "string" } },