[PATCH v2 6/7] perf kwork: Expand capacity of bpf entries
From: Yang Jihong
Date: Fri Jul 29 2022 - 23:07:15 EST
100 kwork entries are not enough for a system with hundreds of cores,
improving capacity.
Signed-off-by: Yang Jihong <yangjihong1@xxxxxxxxxx>
---
tools/perf/util/bpf_skel/kwork_trace.bpf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/bpf_skel/kwork_trace.bpf.c b/tools/perf/util/bpf_skel/kwork_trace.bpf.c
index 063c124e0999..5300e8be64b0 100644
--- a/tools/perf/util/bpf_skel/kwork_trace.bpf.c
+++ b/tools/perf/util/bpf_skel/kwork_trace.bpf.c
@@ -5,7 +5,7 @@
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_tracing.h>
-#define KWORK_COUNT 100
+#define KWORK_COUNT 10000
#define MAX_KWORKNAME 128
/*
--
2.30.GIT