From e478ecfb19ebdb3f1ad15ffa7d39112e65818b6a Mon Sep 17 00:00:00 2001 From: kpattaswamy Date: Mon, 6 Jan 2025 22:58:00 +0000 Subject: [PATCH] Add kfunc methods to ReplayingBCCWrapperImpl Signed-off-by: kpattaswamy --- src/stirling/bpf_tools/bcc_wrapper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stirling/bpf_tools/bcc_wrapper.h b/src/stirling/bpf_tools/bcc_wrapper.h index 031665c8152..6d39a798cef 100644 --- a/src/stirling/bpf_tools/bcc_wrapper.h +++ b/src/stirling/bpf_tools/bcc_wrapper.h @@ -415,11 +415,13 @@ class ReplayingBCCWrapperImpl : public BCCWrapper { Status AttachUProbe(const UProbeSpec&) override { return Status::OK(); } Status AttachTracepoint(const TracepointSpec&) override { return Status::OK(); } Status AttachSamplingProbe(const SamplingProbeSpec&) override { return Status::OK(); } + Status AttachKFunc(const KFuncSpec&) override { return Status::OK(); } Status AttachPerfEvent(const PerfEventSpec&) override { return Status::OK(); } Status AttachKProbes(const ArrayView&) override { return Status::OK(); } Status AttachTracepoints(const ArrayView&) override { return Status::OK(); } Status AttachUProbes(const ArrayView&) override { return Status::OK(); } Status AttachSamplingProbes(const ArrayView&) override { return Status::OK(); } + Status AttachKFuncs(const ArrayView&) override { return Status::OK(); } Status AttachXDP(const std::string&, const std::string&) override { return Status::OK(); } Status AttachPerfEvents(const ArrayView&) override { return Status::OK(); } Status PopulateBPFPerfArray(const std::string&, const uint32_t, const uint64_t) override {