Received: from theta.ikke.info (theta.ikke.info [178.21.117.236]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 5879122340B for <~alpine/devel@lists.alpinelinux.org>; Thu, 4 May 2023 10:35:31 +0000 (UTC) Received: from 3dfb56236b9a (mutt_mutt_run_e5cb00086352.postfix_default [192.168.80.4]) by theta.ikke.info (Postfix) with ESMTPS id 6A0D81441E3; Thu, 4 May 2023 10:35:28 +0000 (UTC) Date: Thu, 4 May 2023 10:35:28 +0000 From: Kevin Daudt To: cyber psych Cc: ~alpine/devel@lists.alpinelinux.org Subject: Re: BTF support in alpine 3.17 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, May 04, 2023 at 02:18:02PM +0530, cyber psych wrote: > Hi all, > > I'm trying to compile and run eBPF programs with BTF(CO-RE). Should I > compile a custom kernel with CONFIG_DEBUG_INFO_BTF set or is it set in the > current build and I am missing something? > > In the current build I can't find "/sys/kernel/btf/vmlinux". > > Any help would be appreciated > > Thanks That setting has been enabled in [d97c07c67c][0] and will be part of alpine 3.18. [0]: https://gitlab.alpinelinux.org/alpine/aports/-/commit/d97c07c67cb9452ec1f7680c5314ea53e622cea5