summaryrefslogtreecommitdiff
path: root/internal/flags/flags.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-21 13:59:39 +0200
committerPaul Buetow <paul@buetow.org>2026-02-21 13:59:39 +0200
commitb5792f8e23d1599dcce49bc83e5d128abee484f3 (patch)
treeef07039e4e05b23a6b41adf6b663abd0109a436b /internal/flags/flags.go
parent114f0cb9e6e5487fccaafb7d7065b611c8c14402 (diff)
Enable name_to_handle_at and io_uring fd attribution
Amp-Thread-ID: https://ampcode.com/threads/T-019c7fec-eec9-706a-8338-3ce674802680 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal/flags/flags.go')
-rw-r--r--internal/flags/flags.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/internal/flags/flags.go b/internal/flags/flags.go
index addd717..eb2d045 100644
--- a/internal/flags/flags.go
+++ b/internal/flags/flags.go
@@ -111,12 +111,7 @@ func parse() {
// disabledTracepoints is a list of tracepoints that should not be attached due to wider isses.
// Here, the BPF programs wouldn't load otherwise due to CO-RE issues.
// TODO: Try out once in a while whether it works again with newer kernel versions.
- // Add back "._open_by_handle_at" here if the tracepoint causes CO-RE issues.
- furtherExcludes := []string{".*_name_to_handle_at"}
- for _, exclude := range furtherExcludes {
- fmt.Println("WARNING: Hard-excluding ", exclude)
- singleton.TracepointsToExclude = append(singleton.TracepointsToExclude, regexp.MustCompile(exclude))
- }
+ // Add back "._open_by_handle_at" or ".*_name_to_handle_at" here if tracepoints cause CO-RE issues.
if *fields == "" {
singleton.CollapsedFields = []string{"pid", "path", "tracepoint"}