[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7503bb384aaeaf9a3b6f68c5347fd73f8e561cc6.1744169424.git.dxu@dxuuu.xyz>
Date: Tue, 8 Apr 2025 21:34:04 -0600
From: Daniel Xu <dxu@...uu.xyz>
To: namhyung@...nel.org,
mingo@...hat.com,
peterz@...radead.org,
acme@...nel.org
Cc: mark.rutland@....com,
alexander.shishkin@...ux.intel.com,
jolsa@...nel.org,
irogers@...gle.com,
adrian.hunter@...el.com,
kan.liang@...ux.intel.com,
linux-perf-users@...r.kernel.org,
linux-kernel@...r.kernel.org,
bpf@...r.kernel.org
Subject: [RFC bpf-next 09/13] perf: Export perf_snapshot_branch_stack static key
Export the static call so that the modularized BPF verifier can run
static_call_query() against it.
Signed-off-by: Daniel Xu <dxu@...uu.xyz>
---
kernel/events/core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/events/core.c b/kernel/events/core.c
index 0bb21659e252..b0449209275f 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -14644,3 +14644,4 @@ struct cgroup_subsys perf_event_cgrp_subsys = {
#endif /* CONFIG_CGROUP_PERF */
DEFINE_STATIC_CALL_RET0(perf_snapshot_branch_stack, perf_snapshot_branch_stack_t);
+EXPORT_STATIC_CALL_GPL(perf_snapshot_branch_stack);
--
2.47.1
Powered by blists - more mailing lists