diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-21 17:58:01 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-21 17:58:01 +0300 |
| commit | 3e00ee8e994147c2dce70bc785fb6fb70f3ecd41 (patch) | |
| tree | 722485bcdb9227b15fc662fdecd580dfbb8c99c0 /internal/generate/classify.go | |
| parent | 47091d7d25da2bb80ce8ad2209575e098f726075 (diff) | |
j7 add futex kind and aggregate-only defaults
Diffstat (limited to 'internal/generate/classify.go')
| -rw-r--r-- | internal/generate/classify.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/generate/classify.go b/internal/generate/classify.go index 3fa8d23..ffac1b3 100644 --- a/internal/generate/classify.go +++ b/internal/generate/classify.go @@ -37,6 +37,7 @@ const ( KindSysVOp KindProc KindBpf + KindFutex ) func (k TracepointKind) MetadataName() string { @@ -103,6 +104,8 @@ func (k TracepointKind) MetadataName() string { return "proc" case KindBpf: return "bpf" + case KindFutex: + return "futex" default: return "none" } @@ -410,6 +413,16 @@ func classifyNameOnly(name string) (ClassificationResult, bool) { return ClassificationResult{Kind: KindProc}, true case "sys_enter_bpf": return ClassificationResult{Kind: KindBpf}, true + case "sys_enter_futex": + return ClassificationResult{Kind: KindFutex}, true + case "sys_enter_futex_wait": + return ClassificationResult{Kind: KindFutex}, true + case "sys_enter_futex_wake": + return ClassificationResult{Kind: KindFutex}, true + case "sys_enter_futex_requeue": + return ClassificationResult{Kind: KindFutex}, true + case "sys_enter_futex_waitv": + return ClassificationResult{Kind: KindFutex}, true case "sys_enter_pidfd_send_signal": return ClassificationResult{Kind: KindFd}, true case "sys_enter_kexec_file_load": |
